1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 23:25:45 +01:00

Allow negating the regular expression in :autocmd.

This commit is contained in:
Kris Maglione
2010-10-04 23:48:19 -04:00
parent d07b7c8c52
commit c747734f1e
5 changed files with 20 additions and 19 deletions

View File

@@ -30,13 +30,14 @@
</p>
<p>
When <oa>cmd</oa> is given, add it to the list of
commands to be executed when <oa>events</oa> occur for
pages matching the regular expression <oa>pat</oa>. If
the <em>-javascript</em> (short name <em>-js</em>)
option is given, <oa>cmd</oa> is interpreted as
JavaScript code. Otherwise, it is interpreted as an ex
command.
When <oa>cmd</oa> is given, add it to the list of commands to be
executed when <oa>events</oa> occur for pages matching the regular
expression <oa>pat</oa>. If <oa>pat</oa> is preceded by an
unquoted <em>!</em>, then the autocommand is executed only for
pages not matching the following regular expression. If the
<em>-javascript</em> (short name <em>-js</em>) option is given,
<oa>cmd</oa> is interpreted as JavaScript code. Otherwise, it is
interpreted as an ex command.
</p>
<note>