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:
@@ -349,19 +349,19 @@
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<tags><![CDATA[<Leader> mapleader \]]></tags>
|
||||
<tags><![CDATA[<Leader> \]]></tags>
|
||||
<strut/>
|
||||
<spec><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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user