Skip to content

Commit

Permalink
vim insert-mode cursor style
Browse files Browse the repository at this point in the history
  • Loading branch information
tonio committed Apr 11, 2012
1 parent b04f9ef commit ffb5753
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vimrc
Expand Up @@ -71,6 +71,13 @@ set backspace=indent,eol,start
set laststatus=2
set encoding=utf-8
let g:Powerline_symbols = 'fancy'
if exists('$TMUX')
let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\"
let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\"
else
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
endif
" }}}

" Leader {{{
Expand Down

0 comments on commit ffb5753

Please sign in to comment.