1
0
Fork 0

back to block cursor, underline is hard to locate; also cursor switching is vim is not really that nice when you can tmux: the cursor stays the same unless you exit editing

This commit is contained in:
Von Random 2015-09-21 13:24:10 +03:00
parent ca5f1cbd88
commit 094e2d2d30
2 changed files with 1 additions and 21 deletions

9
vimrc
View file

@ -66,15 +66,6 @@ if v:version >= 700
nnoremap <Leader>n :setlocal number!<CR>
nnoremap <Leader>l :setlocal list!<CR>
" Cursor shape changes relies on tmux, fails spectacularly with screen!
if $TERM =~ '^screen'
let &t_SI = "\<Esc>Ptmux;\<Esc>\e[6 q\<Esc>\\"
let &t_EI = "\<Esc>Ptmux;\<Esc>\e[4 q\<Esc>\\"
else
let &t_SI = "\<Esc>[6 q"
let &t_EI = "\<Esc>[4 q"
endif
" enable case indentation
let g:sh_indent_case_labels=1