From 0e1666c53077b8d7ead4b500e335af1950c8c2e4 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 20 Oct 2020 20:55:17 +0200 Subject: Startify update --- .config/nvim/settings.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/settings.vim b/.config/nvim/settings.vim index b75ed78..6e977c6 100644 --- a/.config/nvim/settings.vim +++ b/.config/nvim/settings.vim @@ -25,4 +25,4 @@ let maplocalleader="\\" " Disables automatic commenting on newline: autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " Reopen Startify on close -autocmd BufDelete * if empty(filter(tabpagebuflist(), '!buflisted(v:val)')) | Startify | endif +autocmd BufEnter * if line2byte('.') == -1 && len(tabpagebuflist()) == 1 | Startify | endif -- cgit v1.2.3