diff --git a/autoload/startify.vim b/autoload/startify.vim index 2001cc2..8cee517 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -68,7 +68,7 @@ function! startify#insane_in_the_membrane() abort let idx = (i + cnt) let index = s:get_index_as_string(idx) call append('$', ' ['. index .']'. repeat(' ', (3 - strlen(index))) . fnamemodify(sfiles[i], ':t:r')) - execute 'nnoremap '. index .' :bd tabnew +source\ '. s:escape(sfiles[i]) .' if (line2byte("$") == -1) close endif' + execute 'nnoremap '. index .' :source '. s:escape(sfiles[i]) .'' endfor let cnt = idx endif