1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-13 16:45:46 +01:00
Files
pentadactyl-pm/locale/en-US/autocommands.txt
Martin Stubenschrott 0bc6ca918d slightly updated tutorial
2008-06-08 13:04:05 +00:00

32 lines
894 B
Plaintext

HEADER
|autocommands| +
Autocommands are a way to automatically execute code when certain events
happen.
|:au| |:autocmd| +
||:au[tocmd]|| Execute commands automatically on events.
________________________________________________________________________________
[c]:au[tocmd][c] {event} {pat} {cmd}.
Add {cmd} to the list of commands Vimperator will execute on {event}:
* [c]:autocmd[!][c] {events} {pat}: list/remove autocommands filtered be {events} and {pat}
* [c]:autocmd[!][c] {events}: list/remove autocommands matching {events}
* [c]:autocmd[!][c] * {pat}: list/remove autocommands matching {pat}
* [c]:autocmd[!][c]: list/remove all autocommands
Available {events}:
* Startup
* Quit
* PageLoad
{pat} is a regular expression, use .* if you want to match all events.
________________________________________________________________________________
// vim: set syntax=asciidoc: