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

@ -12,7 +12,7 @@ set fillchars=stl:\ ,stlnc:\ ,vert:\
let colors_name = "customred256" let colors_name = "customred256"
hi Normal ctermfg=130 ctermbg=none hi Normal ctermfg=130 ctermbg=none
hi! def link ErrorMsg CRError hi! def link ErrorMsg CRError
@ -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