Skip to content

Commit

Permalink
docs: update lifted restrictions on cmap (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferreum authored Aug 6, 2022
1 parent e031432 commit b0cb926
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 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:
Expand Down
5 changes: 3 additions & 2 deletions docstring.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion lf.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
.EE
.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
.EX
cmap <c-g> cmd-escape
cmap <a-i> set incsearch!
.EE
.PP
You can delete an existing binding by leaving the expression empty:
Expand Down

0 comments on commit b0cb926

Please sign in to comment.