vimrc: thic cursor pls
This commit is contained in:
parent
bfebde7a58
commit
40a45bfefd
14
.vim/vimrc
14
.vim/vimrc
@ -125,9 +125,17 @@ let g:syntastic_cpp_auto_refresh_includes = 1
|
|||||||
let g:syntastic_c_cpplint_exec = 'cppcheck'
|
let g:syntastic_c_cpplint_exec = 'cppcheck'
|
||||||
|
|
||||||
" change cursor shape for different editing modes, neovim does this by default
|
" change cursor shape for different editing modes, neovim does this by default
|
||||||
let &t_SI = "\<Esc>]6;green\x7"
|
if !has('nvim')
|
||||||
let &t_SR = "\e[4 q"
|
if exists('$TMUX')
|
||||||
let &t_EI = "\e[2 q"
|
let &t_SI = "\<Esc>Ptmux;\<Esc>\e[12 q\<Esc>\\"
|
||||||
|
let &t_SI = "\<Esc>Ptmux;\<Esc>\e[4 q\<Esc>\\"
|
||||||
|
let &t_SI = "\<Esc>Ptmux;\<Esc>\e[2 q\<Esc>\\"
|
||||||
|
else
|
||||||
|
let &t_SI = "\e[12 q"
|
||||||
|
let &t_SR = "\e[4 q"
|
||||||
|
let &t_EI = "\e[2 q"
|
||||||
|
endif
|
||||||
|
endif
|
||||||
" reset cursor when vim exits
|
" reset cursor when vim exits
|
||||||
autocmd VimLeave * silent !echo -ne "\033]112\007"
|
autocmd VimLeave * silent !echo -ne "\033]112\007"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user