1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-28 16:53:32 +01:00

add rough initial versions of :doautocmd and :doautoall, clean up autocommands,

and fix several :au bugs (although at this hour it's a crap-shoot)
This commit is contained in:
Doug Kearns
2008-10-04 16:33:18 +00:00
parent 56592a1490
commit 7275233327
7 changed files with 176 additions and 127 deletions

View File

@@ -38,6 +38,22 @@ Warning: Autocommand events are, in general, currently only fired when
Vimperator commands are executed.
________________________________________________________________________________
|:doautoa| |:doautoall|
||:doautocmda[ll] {event} [url]|| +
________________________________________________________________________________
Apply the autocommands matching the specified URL to all buffers. If no [url]
is specified use the current URL.
________________________________________________________________________________
|:do| |:doautocmd|
||:do[autocmd] {event} [url]|| +
________________________________________________________________________________
Apply the autocommands matching the specified URL to the current buffer. If no
[url] is specified use the current URL.
________________________________________________________________________________
section:Examples[autocmd-examples]
Enable _passthrough_ mode on all Google sites:

View File

@@ -159,6 +159,8 @@ section:Ex{nbsp}commands[ex-cmd-index,:index]
||:delmarks|| Delete the specified marks +
||:delqmarks|| Delete the specified QuickMarks +
||:dialog|| Open a undefined dialog +
||:doautoall|| Apply the autocommands matching the specified URL to all buffers +
||:doautocmd|| Apply the autocommands matching the specified URL to the current buffer +
||:downloads|| Show progress of current downloads +
||:echo|| Display a string at the bottom of the window +
||:echoerr|| Display an error string at the bottom of the window +