docs: update lifted restrictions on cmap (#886)

This commit is contained in:
ferreum authored and GitHub committed 2022-08-06 15:53:26 +03:00
1 parent e03143299d
commit b0cb9268d8
3 files changed
+7 -4

No files matched your search

+3 -2
View File
@@ -995,10 +995,11 @@ command, custom command, or shell command:
map i $less $f # 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 <a-i> set incsearch!
You can delete an existing binding by leaving the expression empty: