vi mode cursor change in bash
This commit is contained in:
4
.inputrc
4
.inputrc
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user