dotfiles/dot_vimrc

11 lines
341 B
Plaintext
Raw Normal View History

2019-03-01 10:14:29 +00:00
syntax on
2019-03-01 21:17:53 +00:00
set number
colorscheme desert
set laststatus=2
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
autocmd BufWinLeave * call clearmatches()