vi mode cursor change in bash

This commit is contained in:
Luke Smith 2019-02-02 07:28:34 -05:00
parent 540c4dbb27
commit a794abdf3d

View file

@ -2,6 +2,10 @@ $include /etc/inputrc
set editing-mode vi set editing-mode vi
$if mode=vi $if mode=vi
set show-mode-in-prompt on
set vi-ins-mode-string \1\e[6 q\2
set vi-cmd-mode-string \1\e[2 q\2
set keymap vi-command set keymap vi-command
# these are for vi-command mode # these are for vi-command mode
Control-l: clear-screen Control-l: clear-screen