[vimrc] change cursor to default
This commit is contained in:
@@ -15,21 +15,6 @@ inoremap <Down> <Nop>
|
||||
inoremap <Left> <Nop>
|
||||
inoremap <Right> <Nop>
|
||||
|
||||
" set cursor shape to underline in the normal and command mode,
|
||||
" in the insert mode change shape to vertical bar, and disable
|
||||
" blinking in all modes
|
||||
set guicursor=n-c:hor20
|
||||
set guicursor+=i:ver20
|
||||
set guicursor+=a:blinkon0
|
||||
let &t_EI = "\e[4 q" " solid underscore
|
||||
let &t_SI = "\e[6 q" " vertical bar
|
||||
if has("autocmd") " reset cursor to underscore after I leave vim
|
||||
augroup cursor
|
||||
autocmd!
|
||||
autocmd VimLeave * silent execute '!echo -ne "\e[4 q"' | redraw!
|
||||
augroup END
|
||||
endif
|
||||
|
||||
" fix delay when sending escape sequences from insert mode
|
||||
set timeout
|
||||
set timeoutlen=1000
|
||||
|
||||
Reference in New Issue
Block a user