Vim more for bash readline
This commit is contained in:
parent
7cad2202ff
commit
b9b2e12c2b
1 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
set editing-mode vi
|
||||
|
||||
# bindings
|
||||
"\eOd": backward-word
|
||||
"\eOc": forward-word
|
||||
"\C-p": history-search-backward
|
||||
|
@ -7,3 +10,9 @@
|
|||
"\C-d": delete-char
|
||||
"\C-D": "\C-c\C-d"
|
||||
|
||||
# vi settings
|
||||
$if mode=vi
|
||||
set keymap vi-insert
|
||||
"kj": vi-movement-mode
|
||||
"jk": vi-movement-mode
|
||||
$endif
|
||||
|
|
Reference in a new issue