1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-29 11:55:46 +01:00

Add missing docs and make 'showmode' a stringlist like 'passunknown' rather than a regexplist.

This commit is contained in:
Kris Maglione
2011-03-26 15:27:59 -04:00
parent 204f8ca25c
commit d0831ec8e6
8 changed files with 131 additions and 43 deletions

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="dactyl://content/help.xsl"?>
<!DOCTYPE document SYSTEM "dactyl://content/dtd">
<!DOCTYPE document SYSTEM "dactyl://content/modes.dtd">
<document
name="map"
@@ -75,6 +75,15 @@
saved via the <ex>:mk&dactyl.name;rc</ex> command.
</warning>
<p tag="modes">
The following tree represents all of the modes understood by
dactyl. Mappings for a mode also apply to its children and
descendants. So a mapping in the BASE mode, for instance, is
also active in NORMAL and EX mode.
</p>
&modes.tree;
<h3 tag=":map-commands">Map commands</h3>
<item>

View File

@@ -1143,6 +1143,21 @@
</description>
</item>
<item>
<tags>'pu' 'passunknown'</tags>
<spec>'passunknown' 'pu'</spec>
<type>&option.showmode.type;</type>
<default>&option.showmode.default;</default>
<description>
<p>
Pass unknown keys through to &dactyl.host; in these
<t>modes</t>. The first element matching a currently
active mode is the one that takes effect. Modes may be
negated by prefixing them with a <tt>!</tt>.
</p>
</description>
</item>
<item>
<tags>'pps' 'popups'</tags>
<spec>'popups' 'pps'</spec>
@@ -1330,13 +1345,17 @@
</item>
<item>
<tags>'nosmd' 'noshowmode'</tags>
<tags>'smd' 'showmode'</tags>
<spec>'showmode' 'smd'</spec>
<type>&option.showmode.type;</type>
<default>&option.showmode.default;</default>
<description>
<p>Show the current mode in the command line if it matches this expression.</p>
<p>
Show the current mode in the command line if it or any
of its parent <t>modes</t> is included in the list.
Modes may be negated by prefixing them with a
<tt>!</tt>.
</p>
</description>
</item>

View File

@@ -384,7 +384,7 @@
<h2 tag="app-tabs application-tabs pinned-tabs">Application Tabs</h2>
<item>
<tags>pin pintab</tags>
<tags>:pin :pintab</tags>
<spec><oa>count</oa>pin<oa>tab</oa><oa>!</oa> <oa>arg</oa></spec>
<description>
<p>
@@ -396,7 +396,7 @@
</item>
<item>
<tags>unpin unpintab</tags>
<tags>:unpin :unpintab</tags>
<spec><oa>count</oa>pin<oa>tab</oa> <oa>arg</oa></spec>
<description>
<p>