Browse Source

Autoremove trailing whitespaces in vim

master
Riyyi 7 years ago
parent
commit
0793d63d0f
  1. 3
      etc/vimrc

3
etc/vimrc

@ -29,3 +29,6 @@ set clipboard=unnamedplus
set background=dark
colorscheme hybrid_reverse
" Autoremove trailing whitespace in the following filetypes
autocmd FileType c,cpp,ino,sh,java,php autocmd BufWritePre <buffer> %s/\s\+$//e

Loading…
Cancel
Save