From 1e660511d159ca0bb01b48c2f1496430060db43e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 20 Oct 2020 19:58:40 +0200 Subject: Reopen Startify when closing all --- .vimrc | 1 + 1 file changed, 1 insertion(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 554cadf..931fe95 100644 --- a/.vimrc +++ b/.vimrc @@ -216,6 +216,7 @@ let g:airline#extensions#tabline#buffer_idx_mode = 1 let g:org_todo_keywords = ['TODO', '|', 'DONE', 'CANCELED'] " Disables automatic commenting on newline: autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o +autocmd BufDelete * if empty(filter(tabpagebuflist(), '!buflisted(v:val)')) | Startify | endif " Filetype {{{1 augroup vimrc -- cgit v1.2.3