radubogdan/web-vim-config — pull request #1 by IonicaBizau (2014-03-19 14:50:48+00:00)
Title: Delete unwanted spaces on save

Added:

```vim
autocmd BufWritePre * :%s/\s\+$//e
```

that will delete wanted spaces (the spaces at the end of lines, the empty lines that contain spaces) when the file is saved.