vim: Automatically removing all trailing whitespace
This commit is contained in:
parent
62fa7501cc
commit
5a67ba2d90
2
vimrc
2
vimrc
@ -14,3 +14,5 @@ set shiftwidth=4
|
|||||||
set hlsearch
|
set hlsearch
|
||||||
" Disable VIM matching parenthesis highlighting
|
" Disable VIM matching parenthesis highlighting
|
||||||
let loaded_matchparen = 1
|
let loaded_matchparen = 1
|
||||||
|
" Automatically removing all trailing whitespace
|
||||||
|
autocmd BufWritePre * %s/\s\+$//e
|
||||||
|
Loading…
Reference in New Issue
Block a user