set cursorline in insert mode

This commit is contained in:
ManjaroOne666 2017-09-19 00:26:05 +01:00
parent a189a9762c
commit 9fff447de7
1 changed files with 4 additions and 1 deletions

View File

@ -286,6 +286,9 @@ hi StatusLineNC ctermfg=238 ctermbg=233 term=none cterm=none
if version >= 700 if version >= 700
au InsertEnter * hi StatusLine ctermfg=233 ctermbg=255 au InsertEnter * hi StatusLine ctermfg=233 ctermbg=255
au InsertLeave * hi StatusLine ctermfg=255 ctermbg=239 au InsertLeave * hi StatusLine ctermfg=255 ctermbg=239
au InsertEnter * set cursorline
au InsertLeave * set nocursorline
endif endif
hi VertSplit ctermfg=233 ctermbg=233 term=none cterm=none hi VertSplit ctermfg=233 ctermbg=233 term=none cterm=none