1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-04 21:15:45 +01:00

Use the `mode' <k> attribute at more places in the help files.

This commit is contained in:
Štěpán Němec
2010-09-25 10:42:07 +02:00
parent 2c97e22025
commit 05fcc1ff45
5 changed files with 20 additions and 19 deletions

View File

@@ -146,7 +146,7 @@
<spec>&lt;A-Tab></spec>
<description>
<p>
Similar to <k name="Tab"/>, but the completion behavior is
Similar to <k name="Tab" mode="c"/>, but the completion behavior is
specified by the <o>altwildmode</o> option.
</p>
</description>
@@ -158,7 +158,7 @@
<strut/>
<spec>&lt;A-S-Tab></spec>
<description>
<p>The <k name="S-Tab"/> equivalent for <o>altwildmode</o>.</p>
<p>The <k name="S-Tab" mode="c"/> equivalent for <o>altwildmode</o>.</p>
</description>
</item>

View File

@@ -120,15 +120,15 @@
</p>
<p>
Moreover, sophisticated, context-sensitive <k name="Tab"/>
Moreover, sophisticated, context-sensitive <k name="Tab" mode="c"/>
completion is available for JavaScript code, which extends to
property names, object keys, and programmable completion for
string function arguments. The completion code is designed to be
both as safe and as powerful as possible. Expressions in a given
command-line session will only be evaluated once, and, with
autocompletion turned on, any completion which requires a function
to be executed requires an explicit <k name="Tab"/> press to
commence.
to be executed requires an explicit <k name="Tab" mode="c"/> press
to commence.
</p>
<p>

View File

@@ -401,7 +401,7 @@
For the purposes of abbreviations, keyword characters include
all non-whitespace characters except for single or double
quotation marks. Abbreviations are expanded as soon as any
non-keyword character, or the key <k name="C-]"/>, is typed.
non-keyword character, or the key <k name="C-]" mode="c"/>, is typed.
</p>
<item>

View File

@@ -149,7 +149,7 @@
<p>
Set string or number option to <a>value</a>.
For numeric options the value must be given in decimal.
The old value can be inserted by typing <k name="Tab"/>.
The old value can be inserted by typing <k name="Tab" mode="c"/>.
</p>
</description>
</item>
@@ -335,7 +335,8 @@
<default>list:full</default>
<description>
<p>
Like <o>wildmode</o>, but when the <k name="A-Tab"/> key is pressed.
Like <o>wildmode</o>, but when the <k name="A-Tab" mode="c"/> key
is pressed.
</p>
</description>
</item>
@@ -353,7 +354,7 @@
<t>command-line</t> is focused. Thereafter, any key press
triggers a completion update for the matching groups (hereafter
contexts). Non-matching contexts will only be updated when the
<k name="Tab"/> key is pressed. This option is useful for
<k name="Tab" mode="c"/> key is pressed. This option is useful for
disabling auto-completion for computationally intensive contexts
that don't perform well when your system is under load.
</p>
@@ -469,8 +470,8 @@
<description>
<p>
Set the external text editor.
This is the editor used by <k name="C-i"/>, <k>gF</k>, and other
commands which launch an external text editor.
This is the editor used by <k name="C-i" mode="i"/>, <k>gF</k>, and
other commands which launch an external text editor.
</p>
<warning>
@@ -581,7 +582,7 @@
<dl>
<dt>0</dt> <dd>Follow the first hint as soon as typed text uniquely identifies it.</dd>
<dt>1</dt> <dd>Follow the selected hint on <k name="Return"/>.</dd>
<dt>2</dt> <dd>Follow the selected hint on <k name="Return"/> only if it's been <k name="Tab"/>-selected.</dd>
<dt>2</dt> <dd>Follow the selected hint on <k name="Return"/> only if it's been <k name="Tab" mode="c"/>-selected.</dd>
</dl>
</description>
</item>
@@ -1471,9 +1472,9 @@
<p>
Defines how command-line completion works. It is a comma-separated
list of parts, where each part specifies what to do for each
consecutive press of the <k name="Tab"/> key. The last element in
the list is used for each succeeding <k name="Tab"/> after it has
been reached.
consecutive press of the <k name="Tab" mode="c"/> key. The last
element in the list is used for each succeeding <k name="Tab" mode="c"/>
after it has been reached.
</p>
<p>These are the possible values for each part:</p>

View File

@@ -36,9 +36,9 @@
the completion system via options like <o>autocomplete</o> and
<o>wildcase</o>. Note that completion must be triggered in order
for this command to be effective, so if autocompletion is not
active, you'll need to press the <k name="Tab"/> key at least
once. You should also be aware that this command is only useful
from the commandline.
active, you'll need to press the <k name="Tab" mode="c"/> key at
least once. You should also be aware that this command is only
useful from the commandline.
</p>
</description>
</item>
@@ -246,7 +246,7 @@
Open a help page for <oa>subject</oa>. If <oa>subject</oa> is
omitted, open the default page as specified in <o>helpfile</o>.
If you're not sure of the exact topic you need help with, try
<k name="Tab"/> completion or <ex>:help overview</ex>.
<k name="Tab" mode="c"/> completion or <ex>:help overview</ex>.
</p>
</description>
</item>