1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-05-02 19:30:52 +02:00

add an example of <Leader> use to the help

This commit is contained in:
Doug Kearns
2008-09-10 10:29:25 +00:00
parent de6b32af54
commit ba2acde7ff
2 changed files with 12 additions and 6 deletions
+10 -3
View File
@@ -12,7 +12,7 @@ which are translated to a string of characters. Example:
will echo the current date to the command line when [m]<F2>[m] is pressed.
There are separate key mapping tables for each of the Normal, and Insert,
There are separate key mapping tables for each of the Normal, Insert,
Command-line modes.
|:map-special-chars| +
@@ -37,8 +37,15 @@ ________________________________________________________________________________
|<Leader>| |mapleader| +
||<Leader>||
________________________________________________________________________________
Expands to the value of the "mapleader" variable in key mapping. If
"mapleader" is unset or empty then "\" is used.
Expands to the value of the "mapleader" variable in key mapping. If
"mapleader" is unset or empty then "\" is used. Example: +
\{nbsp}[c]:map <Leader>h :echo "Hello"<CR>[c] +
works like +
\{nbsp}[c]:map \h :echo "Hello"<CR>[c] +
but after +
\{nbsp}[c]let mapleader = ","[c] +
it works like +
\{nbsp}[c]:map ,h :echo "Hello"<CR>[c]
________________________________________________________________________________