From c333d7a15a3b84a17ec322f6156760711228c98d Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sun, 5 May 2013 18:43:11 +0200 Subject: [PATCH] never close windows --- plugin/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/startify.vim b/plugin/startify.vim index 0bca0b2..c407a7a 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -126,7 +126,7 @@ function! s:insane_in_the_membrane() abort autocmd! startify * autocmd startify CursorMoved call s:set_cursor() - autocmd startify BufLeave try | wincmd c | catch /E444/ | endtry | autocmd! startify * + autocmd startify BufLeave autocmd! startify * call cursor(special ? 4 : 2, 5) endfunction