change status line colour when in insert mode

This commit is contained in:
ManjaroOne666 2017-09-13 18:11:14 +01:00
parent e6c40a4604
commit 4c855683c0
1 changed files with 11 additions and 5 deletions

View File

@ -36,6 +36,12 @@ hi NonText guifg=#0030ff ctermfg=darkblue
hi StatusLine guifg=blue guibg=darkgray gui=none ctermfg=255 ctermbg=239 term=none cterm=none hi StatusLine guifg=blue guibg=darkgray gui=none ctermfg=255 ctermbg=239 term=none cterm=none
hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=238 ctermbg=233 term=none cterm=none hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=238 ctermbg=233 term=none cterm=none
" set status to change the status line based on mode
if version >= 700
au InsertEnter * hi StatusLine ctermfg=233 ctermbg=255
au InsertLeave * hi StatusLine ctermfg=255 ctermbg=239
endif
hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=233 ctermbg=233 term=none cterm=none hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=233 ctermbg=233 term=none cterm=none
hi Folded guifg=#808080 guibg=#000040 ctermfg=243 ctermbg=232 cterm=bold term=bold hi Folded guifg=#808080 guibg=#000040 ctermfg=243 ctermbg=232 cterm=bold term=bold
@ -101,8 +107,8 @@ hi CRHtmlBaseBright ctermfg=33
hi CRHtmlbaseDark ctermfg=21 hi CRHtmlbaseDark ctermfg=21
hi CRHtmlDark ctermfg=18 hi CRHtmlDark ctermfg=18
hi CRHtmlBright ctermfg=51 hi CRHtmlAlt ctermfg=51
hi CRHtmlBrightDark ctermfg=45 hi CRHtmlAltDark ctermfg=45
hi CRHtmlSpecial ctermfg=69 hi CRHtmlSpecial ctermfg=69
hi CRHtmlString ctermfg=63 hi CRHtmlString ctermfg=63
@ -189,15 +195,15 @@ hi! def link cssFunctionName scssFunctionName
hi! def link cssUnitDecorators CRCssBaseDark hi! def link cssUnitDecorators CRCssBaseDark
" HTML definitions " HTML definitions
hi! def link htmlTitle CRHtmlBright hi! def link htmlTitle CRHtmlAlt
hi! def link htmlTag Delimiter hi! def link htmlTag Delimiter
hi! def link htmlEndTag htmlTag hi! def link htmlEndTag htmlTag
hi! def link htmlTagName CRHtmlBase hi! def link htmlTagName CRHtmlBase
hi! def link htmlSpecialTagName CRHtmlSpecial hi! def link htmlSpecialTagName CRHtmlSpecial
hi! def link htmlArg CRHtmlBaseDark hi! def link htmlArg CRHtmlBaseDark
hi! def link htmlString CRHtmlString hi! def link htmlString CRHtmlString
hi! def link htmlLink CRHtmlBrightDark hi! def link htmlLink CRHtmlAltDark
hi! def link htmlH1 CRHtmlBright hi! def link htmlH1 CRHtmlAlt
hi! def link htmlSpecialChar CRCommentBright hi! def link htmlSpecialChar CRCommentBright