Make insert mode use pipe cursor

master
Jonathan Hodgson 7 years ago
parent d00a19e59a
commit 1d127cd49b
  1. 16
      .vimrc

@ -70,6 +70,22 @@ set showcmd
" Make vim default to the plus register (system clipboard) when yanking etc.
"set clipboard=unnamedplus
" Make the cursor change in insert mode
"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[5 q"
let &t_EI = "\e[1 q"
" optional reset cursor on start:
augroup myCmds
au!
autocmd VimEnter * silent !echo -ne "\e[2 q"
augroup END
" Plugin Options {{{1

Loading…
Cancel
Save