Fix vim cursor shape after tmux terminal-overrides
This commit is contained in:
parent
d8ad04297b
commit
eebe101050
@ -120,10 +120,10 @@ set lazyredraw
|
|||||||
if has('cursorshape') && has('unix') && !has('gui_running')
|
if has('cursorshape') && has('unix') && !has('gui_running')
|
||||||
if $ITERM_PROFILE !=# ''
|
if $ITERM_PROFILE !=# ''
|
||||||
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
|
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
|
||||||
let &t_SR = "\<Esc>]50;CursorShape=2\x7"
|
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
|
||||||
else
|
else
|
||||||
let &t_SI = "\<Esc>[6 q"
|
let &t_SI = "\<Esc>[6 q"
|
||||||
let &t_SR = "\<Esc>[4 q"
|
let &t_EI = "\<Esc>[2 q"
|
||||||
endif
|
endif
|
||||||
let &t_EI = &t_SI
|
let &t_SR = &t_SI
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user