made the cursor underline instead of vertical line in insert mode

This commit is contained in:
Rick 2021-08-02 17:29:19 +05:30
parent ffa1aa3312
commit db2340f60e
1 changed files with 2 additions and 1 deletions

3
.zshrc
View File

@ -73,7 +73,8 @@ export KEYTIMEOUT=1
cursor_mode() {
# See https://ttssh2.osdn.jp/manual/4/en/usage/tips/vim.html for cursor shapes
cursor_block='\e[2 q'
cursor_beam='\e[6 q'
cursor_beam='\e[4 q'
# cursor_beam='\e[6 q'
function zle-keymap-select {
if [[ ${KEYMAP} == vicmd ]] ||