Vim more for bash readline

This commit is contained in:
Daniel Flanagan 2017-04-20 09:15:04 -05:00
parent 7cad2202ff
commit b9b2e12c2b

View file

@ -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