Add ctrl L for clear screen
This commit is contained in:
parent
c46221ed15
commit
c012741d89
1 changed files with 4 additions and 0 deletions
|
@ -17,14 +17,18 @@ $endif
|
||||||
$if mode=vi
|
$if mode=vi
|
||||||
set keymap vi-command
|
set keymap vi-command
|
||||||
# these are for vi-command mode
|
# these are for vi-command mode
|
||||||
|
Control-l: clear-screen
|
||||||
"\e[A": history-search-backward
|
"\e[A": history-search-backward
|
||||||
"\e[B": history-search-forward
|
"\e[B": history-search-forward
|
||||||
j: history-search-forward
|
j: history-search-forward
|
||||||
k: history-search-backward
|
k: history-search-backward
|
||||||
|
|
||||||
set keymap vi-insert
|
set keymap vi-insert
|
||||||
# these are for vi-insert mode
|
# these are for vi-insert mode
|
||||||
|
Control-l: clear-screen
|
||||||
"\e[A": history-search-backward
|
"\e[A": history-search-backward
|
||||||
"\e[B": history-search-forward
|
"\e[B": history-search-forward
|
||||||
|
# escape binding as in vimrc
|
||||||
"jk": vi-movement-mode
|
"jk": vi-movement-mode
|
||||||
$endif
|
$endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue