vi mode cursor change in bash
This commit is contained in:
parent
540c4dbb27
commit
a794abdf3d
1 changed files with 4 additions and 0 deletions
4
.inputrc
4
.inputrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue