Enable visual highlight of trail spaces and tabs

This commit is contained in:
2017-11-20 21:28:44 +00:00
parent e049445284
commit e292b937d0
2 changed files with 10 additions and 2 deletions

View File

@@ -1,6 +1,13 @@
scriptencoding 'utf-8'
" Enable all mouse features
set mouse=a
" Enable visually highlighting listchars
set list
" Set visible chars for trailing white space and tabs
set listchars=trail,tab:»»
" TODO: spellcapcheck
" TODO: virtualedit=block
" TODO: whichwrap=b,h,l,s,<,>,[,],~
@@ -32,7 +39,7 @@ if has('writebackup')
endif
" Wrap to whole words
set wrap nolist
set wrap
if has('linebreak')
set linebreak
endif