From 337e1a8c24efb1737b6676151a6d2c33c244c5e0 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sun, 23 Nov 2014 17:52:25 +0100 Subject: [PATCH] Refactoring: fix last line usage --- autoload/startify.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index 503b047..94734f7 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -78,7 +78,7 @@ function! startify#insane_in_the_membrane() abort let s:entry_number = 0 if filereadable('Session.vim') call append('$', [' [0] '. getcwd() . s:sep .'Session.vim', '']) - execute 'nnoremap 0 :call startify#session_delete_buffers() source Session.vim' + execute 'nnoremap 0 :call startify#session_delete_buffers() source Session.vim' let s:entry_number = 1 let l:show_session = 1 endif @@ -110,7 +110,7 @@ function! startify#insane_in_the_membrane() abort unlet item endfor - silent $delete _ + silent $-1,$delete _ if s:show_special call append('$', ['', ' [q] '])