Support changing cursor shape for iTerm2 in tmux
This commit is contained in:
parent
ec0ad0ae00
commit
0416a42e08
@ -118,7 +118,7 @@ set lazyredraw
|
||||
|
||||
" Change cursor dependant on current mode
|
||||
if has('cursorshape') && has('unix') && !has('gui_running')
|
||||
if $ITERM_PROFILE !=# ''
|
||||
if $TMUX ==# '' && $ITERM_PROFILE !=# ''
|
||||
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
|
||||
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user