mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-18 09:55:47 +01:00
Link to macro-string tag in :command-replacement-text section.
This commit is contained in:
@@ -682,24 +682,21 @@
|
|||||||
<h3 tag=":command-replacement-text">Replacement text</h3>
|
<h3 tag=":command-replacement-text">Replacement text</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The replacement text <a>rep</a> is scanned for macro strings and these are
|
The replacement text <a>rep</a> is scanned for <t>macro-string</t>s and these are
|
||||||
replaced with values from the user-entered command line. The resulting string
|
replaced with values from the user-entered command line. The resulting string
|
||||||
is then executed as an Ex command.
|
is then executed as an Ex command.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>The valid macro strings are:</p>
|
<p>
|
||||||
|
In addition to the standard parameters listed in
|
||||||
|
<t>macro-string</t>, the following parameters are available:
|
||||||
|
</p>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><args></dt> <dd>The command arguments exactly as supplied</dd>
|
<dt><args></dt> <dd>The command arguments exactly as supplied</dd>
|
||||||
<dt><count></dt><dd>Any supplied count, e.g. 5</dd>
|
<dt><count></dt><dd>Any supplied count, e.g. 5</dd>
|
||||||
<dt><bang></dt> <dd>! if the command was executed with the ! modifier</dd>
|
<dt><bang></dt> <dd>! if the command was executed with the ! modifier</dd>
|
||||||
<dt><lt></dt> <dd>A literal '<' character</dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<p>
|
|
||||||
"q-" can be prefixed to the macro string so that the value is quoted, making
|
|
||||||
it suitable for expression evaluation. Example: <q-args>
|
|
||||||
</p>
|
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user