diff options
Diffstat (limited to 'vim/init/keymaps.vim')
-rw-r--r-- | vim/init/keymaps.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/init/keymaps.vim b/vim/init/keymaps.vim index 264710e..73f931e 100644 --- a/vim/init/keymaps.vim +++ b/vim/init/keymaps.vim | |||
@@ -478,7 +478,7 @@ let g:quitVimWhenPressingCtrlC = 1 | |||
478 | function! ToggleQuit() | 478 | function! ToggleQuit() |
479 | let g:quitVimWhenPressingCtrlC = !g:quitVimWhenPressingCtrlC | 479 | let g:quitVimWhenPressingCtrlC = !g:quitVimWhenPressingCtrlC |
480 | let message = g:quitVimWhenPressingCtrlC ? "Unlock" : "Lock" | 480 | let message = g:quitVimWhenPressingCtrlC ? "Unlock" : "Lock" |
481 | nnoremap ZZ <C-c> | 481 | nnoremap ZZ :w<CR><C-c> |
482 | echo message | 482 | echo message |
483 | endfunction | 483 | endfunction |
484 | nnoremap \q :call ToggleQuit()<CR> | 484 | nnoremap \q :call ToggleQuit()<CR> |