1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 03:55:48 +01:00

Make 'mapleader' an option and fix the help fragment scrolling issue.

This commit is contained in:
Kris Maglione
2010-10-04 16:45:39 -04:00
parent 1d5eb0f991
commit 476c908da1
9 changed files with 34 additions and 22 deletions

View File

@@ -349,19 +349,19 @@
</item>
<item>
<tags><![CDATA[<Leader> mapleader \]]></tags>
<tags><![CDATA[<Leader> \]]></tags>
<strut/>
<spec>&lt;Leader></spec>
<description>
<p>
Expands to the value of the mapleader variable in key mapping. If
mapleader is unset or empty then \ is used. For example, by default,
A pseudo-key which expands to the value of the <o>mapleader</o>
option. For example, by default,
</p>
<code><ex>:map <k name="Leader"/>h</ex> <ex>:echo <str>Hello</str><k name="CR"/></ex></code>
<p>works like</p>
<code><ex>:map \h</ex> <ex>:echo <str>Hello</str><k name="CR"/></ex></code>
<p>but after</p>
<code><ex>:let mapleader = <str>,</str></ex></code>
<code><ex>:set mapleader=<str>,</str></ex></code>
<p>it works like</p>
<code><ex>:map ,h</ex> <ex>:echo <str>Hello</str><k name="CR"/></ex></code>
</description>

View File

@@ -925,6 +925,16 @@
</description>
</item>
<item>
<tags>'ml' 'mapleader'</tags>
<spec>'mapleader'</spec>
<type>string</type>
<default>\</default>
<description>
<p>Defines the replacement keys for the <k name="Leader"/> pseudo-key.</p>
</description>
</item>
<item>
<tags>'maxitems'</tags>
<spec>'maxitems'</spec>