summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-20 19:58:40 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-20 19:58:40 +0200
commit1e660511d159ca0bb01b48c2f1496430060db43e (patch)
tree913175ec50153c66e8d4da75a865d45bd0a583f4 /.vimrc
parentRemoved bad script (diff)
downloaddotfiles-bsd-1e660511d159ca0bb01b48c2f1496430060db43e.tar.gz
dotfiles-bsd-1e660511d159ca0bb01b48c2f1496430060db43e.tar.bz2
dotfiles-bsd-1e660511d159ca0bb01b48c2f1496430060db43e.tar.xz
dotfiles-bsd-1e660511d159ca0bb01b48c2f1496430060db43e.tar.zst
dotfiles-bsd-1e660511d159ca0bb01b48c2f1496430060db43e.zip
Reopen Startify when closing all
Diffstat (limited to '')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
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