1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 20:24:12 +01:00

Toggle between values in a list for string/number options with invert.

This commit is contained in:
Kris Maglione
2010-12-17 14:48:46 -05:00
parent 87c2e5624d
commit 754d490a56
4 changed files with 26 additions and 22 deletions

View File

@@ -404,19 +404,17 @@
</note>
<example>
<p>
To enable auto-completion for everything but <ex>:history</ex> or
<ex>:bmarks</ex>, you would choose a value such as
<str delim="">!/ex/(bmarks|history),.?</str>
</p>
<p>
To go in the other direction, i.e. <em>only</em> enable
auto-completion for those commands, you have to jump through
some hoops, due to the way contexts work (see the note above):
<str delim="">/ex/(bmarks|history),^(/|/ex/?)$</str>
</p>
To enable auto-completion for everything but <ex>:history</ex> or
<ex>:bmarks</ex>, you would choose a value such as
<str delim="">!/ex/(bmarks|history),.?</str>
</example>
<p>
To go in the other direction, i.e. <em>only</em> enable
auto-completion for those commands, you have to jump through
some hoops, due to the way contexts work (see the note above):
<str delim="">/ex/(bmarks|history),^(/|/ex/?)$</str>
</p>
</description>
</item>