aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/init/basic.vim
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-07-04 14:00:41 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-07-04 14:00:41 +0800
commit7031bb7e1ac3c26c3e2837b10805c34d399de1fd (patch)
tree7185f80c19f3636e041697ed5138aa49f86c932d /vim/init/basic.vim
parenta31d8dbea212442e2ed132516e42b72258b2ccd7 (diff)
Update
Diffstat (limited to 'vim/init/basic.vim')
-rw-r--r--vim/init/basic.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/init/basic.vim b/vim/init/basic.vim
index 945c134..cdb5210 100644
--- a/vim/init/basic.vim
+++ b/vim/init/basic.vim
@@ -108,7 +108,7 @@ function! ToggleQuit()
108 echo message 108 echo message
109endfunction 109endfunction
110 110
111nnoremap gl :call ToggleQuit()<CR> 111nnoremap <leader><leader>gl :call ToggleQuit()<CR>
112 112
113" Simply exit when closing the last buffer 113" Simply exit when closing the last buffer
114 114
@@ -117,7 +117,7 @@ function! Bye()
117 if g:quitVimWhenPressingCtrlC 117 if g:quitVimWhenPressingCtrlC
118 :silent! quit 118 :silent! quit
119 else 119 else
120 :echo "Press gl to allow quit with <C-c>" 120 :echo "Press <leader><leader>gl to allow quit with <C-c>"
121 endif 121 endif
122 else 122 else
123 :bdelete 123 :bdelete