mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 07:15:37 +00:00
Set beam to non-blinking cursor
This commit is contained in:
parent
50193077f4
commit
815d968302
2
zsh/vim
2
zsh/vim
@ -9,7 +9,7 @@ function zle-keymap-select {
|
|||||||
if [[ $KEYMAP == vicmd ]] || [[ $1 = 'block' ]]; then
|
if [[ $KEYMAP == vicmd ]] || [[ $1 = 'block' ]]; then
|
||||||
echo -ne '\e[1 q'
|
echo -ne '\e[1 q'
|
||||||
elif [[ $KEYMAP == main ]] || [[ $KEYMAP == viins ]] || [[ $KEYMAP = '' ]] || [[ $1 = 'beam' ]]; then
|
elif [[ $KEYMAP == main ]] || [[ $KEYMAP == viins ]] || [[ $KEYMAP = '' ]] || [[ $1 = 'beam' ]]; then
|
||||||
echo -ne '\e[5 q'
|
echo -ne '\e[6 q'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
zle -N zle-keymap-select
|
zle -N zle-keymap-select
|
||||||
|
Loading…
Reference in New Issue
Block a user