From eebe101050cdaae4b84ec3d4c05662a091b11d62 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 6 Dec 2017 11:28:15 +0000 Subject: [PATCH] Fix vim cursor shape after tmux terminal-overrides --- plugin/settings.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/settings.vim b/plugin/settings.vim index 4457097..17dcd45 100644 --- a/plugin/settings.vim +++ b/plugin/settings.vim @@ -120,10 +120,10 @@ set lazyredraw if has('cursorshape') && has('unix') && !has('gui_running') if $ITERM_PROFILE !=# '' let &t_SI = "\]50;CursorShape=1\x7" - let &t_SR = "\]50;CursorShape=2\x7" + let &t_EI = "\]50;CursorShape=0\x7" else let &t_SI = "\[6 q" - let &t_SR = "\[4 q" + let &t_EI = "\[2 q" endif - let &t_EI = &t_SI + let &t_SR = &t_SI endif