diff options
-rw-r--r-- | vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -125,6 +125,7 @@ function! Preserve(command) endfunction nmap _$ :call Preserve("%s/\\s\\+$//e")<CR> nmap _= :call Preserve("normal gg=G")<CR> +autocmd BufWritePre * :call Preserve("%s/\\s\\+$//e") source ~/.vim/scripts/bepo-layout.vim |