vimrc: cursor updates
This commit is contained in:
parent
d3c2cc87fb
commit
d748fb4415
@ -124,9 +124,11 @@ 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 = "\e[6 q"
|
let &t_SI = "\<Esc>]6;green\x7"
|
||||||
let &t_SR = "\e[4 q"
|
let &t_SR = "\e[4 q"
|
||||||
let &t_EI = "\e[2 q"
|
let &t_EI = "\e[2 q"
|
||||||
|
" reset cursor when vim exits
|
||||||
|
autocmd VimLeave * silent !echo -ne "\033]112\007"
|
||||||
|
|
||||||
command! W execute 'silent w !sudo tee % >/dev/null' | edit!
|
command! W execute 'silent w !sudo tee % >/dev/null' | edit!
|
||||||
command! -nargs=* Make write | make! <args> | cwindow
|
command! -nargs=* Make write | make! <args> | cwindow
|
||||||
|
Loading…
Reference in New Issue
Block a user