(iTerm2 only) change cursor based on console Vim's mode

pull/2/head
Bodaniel Jeanes 2011-12-04 12:34:31 -06:00
parent 4bb2618150
commit 90cbbb581c
1 changed files with 6 additions and 0 deletions

View File

@ -135,3 +135,9 @@ syntax on
" For when other people use my setup " For when other people use my setup
nmap \ <Leader> nmap \ <Leader>
" May only work in iTerm2 and may have other bad effects,
" but this shows a block in normal mode, and vertical bar
" in insert mode.
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
let &t_EI = "\<Esc>]50;CursorShape=0\x7"