diff --git a/dot_vim/vimrc b/dot_vim/vimrc index b925862..92ec872 100644 --- a/dot_vim/vimrc +++ b/dot_vim/vimrc @@ -238,3 +238,6 @@ nmap D ysiw nnoremap j :%!python -m json.tool " Pretty print json + +" 05 - Auto Commands + autocmd BufWritePre * :%s/\s\+$//e " Remove trailing whitespace on save