readline: change cursor shape when entering vi cmd mode
This commit is contained in:
parent
57aaa79a30
commit
f01bc4d599
1 changed files with 2 additions and 2 deletions
|
@ -229,7 +229,7 @@ set show-mode-in-prompt on
|
|||
# is available. Use the \1 and \2 escapes to begin and end sequences of
|
||||
# non-printing characters, which can be used to embed a terminal control
|
||||
# sequence into the mode string.
|
||||
set vi-cmd-mode-string "\1\e[1;31m\2: \1\e[0m\2"
|
||||
set vi-cmd-mode-string \1\e[2 q\2
|
||||
|
||||
# If the show-mode-in-prompt variable is enabled, this string is displayed
|
||||
# immediately before the last line of the primary prompt when vi editing mode
|
||||
|
@ -238,7 +238,7 @@ set vi-cmd-mode-string "\1\e[1;31m\2: \1\e[0m\2"
|
|||
# is available. Use the \1 and \2 escapes to begin and end sequences of
|
||||
# non-printing characters, which can be used to embed a terminal control
|
||||
# sequence into the mode string.
|
||||
set vi-ins-mode-string "\1\e[0m\2"
|
||||
set vi-ins-mode-string \1\e[6 q\2
|
||||
|
||||
# If set to On, a character denoting a file's type as reported by stat(2) is
|
||||
# appended to the filename when listing possible completions.
|
||||
|
|
Loading…
Add table
Reference in a new issue