Change cursor in different modes
This commit is contained in:
parent
beac657266
commit
69477ab7b8
1 changed files with 11 additions and 0 deletions
|
@ -127,6 +127,17 @@ set softtabstop=4 " number of spaces in tab when editing
|
||||||
|
|
||||||
" UI CONFIG {{{
|
" UI CONFIG {{{
|
||||||
|
|
||||||
|
let &t_SI = "\e[5 q" " cursor beam on insert mode
|
||||||
|
let &t_SR = "\e[3 q" " cursor underline on replace mode
|
||||||
|
let &t_EI = "\e[2 q" " cursor block otherwise
|
||||||
|
|
||||||
|
" reset cursor on start:
|
||||||
|
augroup cursorCmds
|
||||||
|
au!
|
||||||
|
autocmd VimEnter * silent !echo -ne "\e[2 q"
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
|
||||||
set number " show line numbers
|
set number " show line numbers
|
||||||
set showcmd " show command in bottom bar
|
set showcmd " show command in bottom bar
|
||||||
set cursorline " highlight current line
|
set cursorline " highlight current line
|
||||||
|
|
Loading…
Add table
Reference in a new issue