aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 821d5cc..b2ab0a6 100644
--- a/vimrc
+++ b/vimrc
@@ -369,6 +369,9 @@
" 2017.05.04:
" * Add <leader>sm mapping to split chained method calls.
"
+" 2017.06.05:
+" * Add ZA mapping to save all buffers and quit.
+"
" Pathogen
@@ -595,6 +598,9 @@ nnoremap <c-h> <esc>:update<cr>
inoremap <c-h> <c-g>u<esc>:update<cr>a
vnoremap <c-h> <esc>:update<cr>gv
+" Update all files and quit
+nnoremap ZA :xall<cr>
+
" Preserve indentation on empty lines
" http://stackoverflow.com/a/7413117
inoremap <CR> <CR>x<BS>