mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-24 12:43:36 +01:00
Make the <k> tag mode-aware.
Previously there was no way to produce links to the appropriate mode-specific binding of a key using the <k> tag (e.g., <Tab> in the documentation always linked to the Normal-mode command, although its command-line functionality is different). This commit introduces a `mode' attribute to the <k> tag, making the distinction possible.
This commit is contained in:
@@ -140,6 +140,29 @@
|
||||
</item>
|
||||
|
||||
|
||||
<item>
|
||||
<tags><![CDATA[c_<A-Tab>]]></tags>
|
||||
<strut/>
|
||||
<spec><A-Tab></spec>
|
||||
<description>
|
||||
<p>
|
||||
Similar to <k name="Tab"/>, but the completion behavior is
|
||||
specified by the <o>altwildmode</o> option.
|
||||
</p>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
|
||||
<item>
|
||||
<tags><![CDATA[c_<A-S-Tab>]]></tags>
|
||||
<strut/>
|
||||
<spec><A-S-Tab></spec>
|
||||
<description>
|
||||
<p>The <k name="S-Tab"/> equivalent for <o>altwildmode</o>.</p>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
|
||||
</document>
|
||||
|
||||
<!-- vim:se sts=4 sw=4 et: -->
|
||||
|
||||
Reference in New Issue
Block a user