diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-11-27 14:22:26 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-11-27 14:22:26 +0800 |
commit | 91f3e8c038e289009554e69f05abc75bccee8368 (patch) | |
tree | 5f19a82a241bac1587d908305c7d1a3833f1226a /vim/init/keymaps.vim | |
parent | c4d87fd742c39f0729e7bef61a276769de8142bb (diff) |
Update
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> |