diff options
author | tdro <tdro@users.noreply.github.com> | 2022-04-03 02:34:35 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2022-04-03 02:34:35 -0400 |
commit | 427fe844859a06afebc839af13b6d8dd88ce55d2 (patch) | |
tree | 96478dcc53dec3e2be7a76047a01f98e9a160f80 | |
parent | 008f05dbdbcf306b2ef0dbc835a0647256111ddd (diff) | |
download | dotfiles-427fe844859a06afebc839af13b6d8dd88ce55d2.tar.gz dotfiles-427fe844859a06afebc839af13b6d8dd88ce55d2.tar.bz2 dotfiles-427fe844859a06afebc839af13b6d8dd88ce55d2.zip |
.vim/vimrc: Remove trailing white space only on BufWritePre
-rw-r--r-- | .vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -350,7 +350,7 @@ augroup AutoCommands autocmd CursorMoved * silent! call popup_clear() " Automatically remove trailing white space on save. - autocmd InsertLeave,BufWritePre * %s/\s\+$//e + autocmd BufWritePre * %s/\s\+$//e " Automatically save file on insert and idle. autocmd InsertLeave,CursorHold * silent! write |