docs: update lifted restrictions on cmap (#886)
This commit is contained in:
1 parent
e03143299d
commit
b0cb9268d8
3 files changed
+7
-4
No files matched your search
@@ -921,9 +921,10 @@ Command 'map' is used to bind a key to a command which can be builtin command, c
|
|||||||
map i $less $f # shell command
|
map i $less $f # shell command
|
||||||
map U !du -csh * # waiting shell command
|
map U !du -csh * # waiting shell command
|
||||||
|
|
||||||
Command 'cmap' is used to bind a key to a command line command which can only be one of the builtin commands:
|
Command 'cmap' is used to bind a key on the command line to a command line command or any other command:
|
||||||
|
|
||||||
cmap <c-g> cmd-escape
|
cmap <c-g> cmd-escape
|
||||||
|
cmap <a-i> set incsearch!
|
||||||
|
|
||||||
You can delete an existing binding by leaving the expression empty:
|
You can delete an existing binding by leaving the expression empty:
|
||||||
|
|
||||||
|
|||||||
+3
-2
@@ -995,10 +995,11 @@ command, custom command, or shell command:
|
|||||||
map i $less $f # shell command
|
map i $less $f # shell command
|
||||||
map U !du -csh * # waiting shell command
|
map U !du -csh * # waiting shell command
|
||||||
|
|
||||||
Command 'cmap' is used to bind a key to a command line command which can
|
Command 'cmap' is used to bind a key on the command line to a command line
|
||||||
only be one of the builtin commands:
|
command or any other command:
|
||||||
|
|
||||||
cmap <c-g> cmd-escape
|
cmap <c-g> cmd-escape
|
||||||
|
cmap <a-i> set incsearch!
|
||||||
|
|
||||||
You can delete an existing binding by leaving the expression empty:
|
You can delete an existing binding by leaving the expression empty:
|
||||||
|
|
||||||
|
|||||||
@@ -1128,10 +1128,11 @@ Command 'map' is used to bind a key to a command which can be builtin command, c
|
|||||||
map U !du -csh * # waiting shell command
|
map U !du -csh * # waiting shell command
|
||||||
.EE
|
.EE
|
||||||
.PP
|
.PP
|
||||||
Command 'cmap' is used to bind a key to a command line command which can only be one of the builtin commands:
|
Command 'cmap' is used to bind a key on the command line to a command line command or any other command:
|
||||||
.PP
|
.PP
|
||||||
.EX
|
.EX
|
||||||
cmap <c-g> cmd-escape
|
cmap <c-g> cmd-escape
|
||||||
|
cmap <a-i> set incsearch!
|
||||||
.EE
|
.EE
|
||||||
.PP
|
.PP
|
||||||
You can delete an existing binding by leaving the expression empty:
|
You can delete an existing binding by leaving the expression empty:
|
||||||
|
|||||||
Reference in new issue
Block a user