commit 7731fbdaae75445e2229e045ddbe57eb7eaa8c06 parent 989f504432dec39660b16277ada1af2beab7a923 Author: Ed van Bruggen <edvb54@gmail.com> Date: Wed, 14 Jan 2015 15:00:00 -0800 Vim: Add ZS and ZA mappings Diffstat:
nvimrc | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/nvimrc b/nvimrc @@ -55,3 +55,10 @@ endif " make jj typed quickly while in insert mode switch to normal mode :D inoremap jj <Esc> + +" ZZ is save and quit and ZQ is just quit, so... +" make ZS to save without closing +nnoremap ZS :w<CR> +" make ZA save and quit all windows +nnoremap ZA :wqall<CR> +