diff --git a/autoload/startify.vim b/autoload/startify.vim index f888ef4..8a0c24f 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -397,8 +397,8 @@ function! s:show_sessions(cnt) abort let cnt = a:cnt for i in range(len(sfiles)) let index = s:get_index_as_string(cnt) - call append('$', ' ['. index .']'. repeat(' ', (3 - strlen(index))) . fnamemodify(sfiles[i], ':t:r')) - execute 'nnoremap ' index ':SLoad' fnamemodify(sfiles[i], ':t:r') '' + call append('$', ' ['. index .']'. repeat(' ', (3 - strlen(index))) . fnamemodify(sfiles[i], ':t')) + execute 'nnoremap ' index ':SLoad' fnamemodify(sfiles[i], ':t') '' let cnt += 1 endfor call append('$', '')