vim: change cursor shape when switching modes

This commit is contained in:
John Bowdre 2023-02-10 16:21:29 -06:00
parent ae804e9387
commit 1cdbe8cf36

View file

@ -44,6 +44,20 @@ else
map <C-l> <C-w>l
endif
" Use a line cursor within insert mode and a block cursor everywhere else.
"
" Reference chart of values:
" Ps = 0 -> blinking block.
" Ps = 1 -> blinking block (default).
" Ps = 2 -> steady block.
" Ps = 3 -> blinking underline.
" Ps = 4 -> steady underline.
" Ps = 5 -> blinking bar (xterm).
" Ps = 6 -> steady bar (xterm).
let &t_SI = "\e[6 q"
let &t_EI = "\e[2 q"
" coding preferences
filetype off
filetype plugin indent on