Update vim highlighting
This commit is contained in:
parent
b8f89f17ac
commit
8c926f3281
1 changed files with 9 additions and 4 deletions
13
.vimrc
13
.vimrc
|
|
@ -39,8 +39,6 @@ set wildmenu
|
|||
set backspace=2
|
||||
|
||||
" Color trailing spaces with red color
|
||||
highlight ExtraWhitespace ctermbg=green guibg=green
|
||||
match ExtraWhitespace /\s\+$/
|
||||
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
|
||||
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
|
||||
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
|
||||
|
|
@ -64,9 +62,16 @@ set colorcolumn=80
|
|||
" wrap text instead of being on one line
|
||||
set lbr
|
||||
|
||||
" default Colors for CursorLine
|
||||
" add a CursorLine
|
||||
set cursorline
|
||||
highlight CursorLine cterm=NONE
|
||||
|
||||
" highlighting
|
||||
highlight CursorLine ctermfg=NONE ctermbg=234 guifg=NONE guibg=#212026 guisp=NONE cterm=NONE gui=NONE
|
||||
highlight StatusLine ctermfg=249 ctermbg=60 guifg=#b2b2b2 guibg=#5d4d7a guisp=NONE cterm=NONE gui=NONE
|
||||
highlight ColorColumn ctermfg=NONE ctermbg=234 guifg=NONE guibg=#212026 guisp=NONE cterm=NONE gui=NONE
|
||||
|
||||
highlight ExtraWhitespace ctermbg=green guibg=green
|
||||
match ExtraWhitespace /\s\+$/
|
||||
|
||||
" activate statusbar
|
||||
set laststatus=2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue