1
0
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:
Štěpán Němec
2010-09-25 02:18:17 +02:00
parent 0c34437805
commit 223859a33b
5 changed files with 55 additions and 10 deletions

View File

@@ -140,6 +140,29 @@
</item>
<item>
<tags><![CDATA[c_<A-Tab>]]></tags>
<strut/>
<spec>&lt;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>&lt;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: -->