From 3c34765e1fcd1ee64f3eca5b9c5370090af73846 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 26 Apr 2013 11:41:22 +0200 Subject: [PATCH] change buffer settings --- plugin/startify.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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