vi mode cursor change in bash

This commit is contained in:
Luke Smith 2019-02-02 07:28:34 -05:00
parent c0fa21b862
commit 527210dd28
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -2,6 +2,10 @@ $include /etc/inputrc
set editing-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
# these are for vi-command mode
Control-l: clear-screen