diff options
Diffstat (limited to 'vim/config/file.vim')
-rw-r--r-- | vim/config/file.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vim/config/file.vim b/vim/config/file.vim index 07c20cd5..4bf1f86b 100644 --- a/vim/config/file.vim +++ b/vim/config/file.vim @@ -27,5 +27,9 @@ set nomodeline " I really like ZZ and ZQ, so I wrote a couple more mappings; ZW forces a " write of the current buffer, but doesn't quit, and ZA forces a write of all " buffers but doesn't quit -nnoremap ZW :w!<CR> -nnoremap ZA :wa!<CR> +nnoremap <silent> + \ ZW + \ :<C-U>write!<CR> +nnoremap <silent> + \ ZA + \ :<C-U>wall!<CR> |