commit 54df9535156b74901f78f983213b0c1d5eb8834f
parent 00b932b063334842d4ba96d4a4551cf6281c7e71
Author: Ed van Bruggen <edvb54@gmail.com>
Date: Sat, 30 Aug 2014 08:50:56 -0700
Vim: add ZA mapping as :wqall
Diffstat:
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/vimrc b/vimrc
@@ -238,16 +238,18 @@ set statusline+=%#SLblue#\ %l/%L " line/total lines
set statusline+=%#ErrorMsg#%{SyntasticStatuslineFlag()} " Syntastic Error
" mapping{{{1
-" make ZS save without closing
-" ZZ is save and quit and ZQ is just quit
-nnoremap ZS :w<CR>
-
" make jj typed fast while in insert mode switch to normal mode :D
inoremap jj <Esc>
" make ctrl+c completely like ESC
inoremap <C-c> <Esc><Esc>
+" ZZ is save and quit and ZQ is just quit
+" make ZS save without closing
+nnoremap ZS :w<CR>
+" make ZA save and quit all windows
+nnoremap ZA :wqall<CR>
+
" C changes until end of line and D deletes until end of line, so why not Y?
noremap Y y$