1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Highlight whitespace in Vim

This commit is contained in:
Joe Groocock 2017-11-10 12:43:29 +00:00
parent 287456056c
commit 456a290860
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

4
.vimrc
View File

@ -39,6 +39,10 @@ set smartcase
set guifont=Sauce\ Code\ Pro\ 10.5 set guifont=Sauce\ Code\ Pro\ 10.5
set guioptions= set guioptions=
" Whitespace highlight settings
set list
set listchars=eol:$,space:.,tab:>-,trail:~,extends:>,precedes:<
nnoremap <LeftMouse> <nop> nnoremap <LeftMouse> <nop>
nnoremap <RightMouse> <nop> nnoremap <RightMouse> <nop>