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 map <C-l> <C-w>l
endif 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 " coding preferences
filetype off filetype off
filetype plugin indent on filetype plugin indent on