diff --git a/plugin/startify.vim b/plugin/startify.vim index 6b62fcf..cb56449 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -30,7 +30,7 @@ function! s:insane_in_the_membrane() abort endif endfor endif - setlocal nonumber buftype=nofile + setlocal nonumber noswapfile buftype=nofile bufhidden=wipe if v:version >= 703 setlocal norelativenumber endif @@ -94,7 +94,7 @@ function! s:insane_in_the_membrane() abort autocmd! startify * autocmd startify CursorMoved call s:set_cursor() - autocmd startify BufDelete autocmd! startify * + autocmd startify BufWipeout autocmd! startify * call cursor(6, 5) endfunction