diff --git a/doc/startify.txt b/doc/startify.txt index 2d86463..d363eac 100644 --- a/doc/startify.txt +++ b/doc/startify.txt @@ -106,6 +106,9 @@ There are only two commands for handling sessions: :SLoad load a session :SSave save a session +These take either 0 or 1 argument. If you don't specify the session name as an +argument, they will just ask for it. + ============================================================================== 5. About the author *startify-author* diff --git a/plugin/startify.vim b/plugin/startify.vim index b23b1fa..3c8c4d0 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -11,8 +11,8 @@ let g:loaded_startify = 1 " Init {{{1 let g:startify_session_dir = resolve(expand(get(g:, 'startify_session_dir', '~/.vim/session'))) -command! -nargs=? -bar SSave call startify#save_session() -command! -nargs=? -bar SLoad call startify#load_session() +command! -nargs=? -bar SSave call startify#save_session() +command! -nargs=? -bar SLoad call startify#load_session() augroup startify autocmd!