aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/init/basic.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/init/basic.vim')
-rw-r--r--vim/init/basic.vim4
1 files changed, 0 insertions, 4 deletions
diff --git a/vim/init/basic.vim b/vim/init/basic.vim
index b74f988..945c134 100644
--- a/vim/init/basic.vim
+++ b/vim/init/basic.vim
@@ -113,10 +113,6 @@ nnoremap gl :call ToggleQuit()<CR>
113" Simply exit when closing the last buffer 113" Simply exit when closing the last buffer
114 114
115function! Bye() 115function! Bye()
116 let specialFileTypes = ['help', 'netrw', 'vim-plug', 'nerdtree']
117 let bufIsSpecial = index(specialFileTypes, &filetype) != -1
118 let bufInMultipleWindow = len(getbufinfo(bufnr())[0].windows) > 1
119
120 if len(getbufinfo({'buflisted': 1})) == 1 && len(getwininfo()) == 1 116 if len(getbufinfo({'buflisted': 1})) == 1 && len(getwininfo()) == 1
121 if g:quitVimWhenPressingCtrlC 117 if g:quitVimWhenPressingCtrlC
122 :silent! quit 118 :silent! quit