feat (vimrc): automatically remove trailing whitespaces

This commit is contained in:
eeemsi 2023-01-10 19:03:17 +01:00
parent f8ec0d14d3
commit 48eab41d5c
1 changed files with 3 additions and 0 deletions

3
vimrc
View File

@ -19,3 +19,6 @@ let g:netrw_banner=0
" Tree style listing in netrw
let g:netrw_liststyle = 3
" Automatically remove trailing whitespace
autocmd! BufWrite * mark ' | silent! %s/\s\+$// | norm '