Make :SLoad! source last used session on Unix

Closes https://github.com/mhinz/vim-startify/issues/352
This commit is contained in:
Marco Hinz 2019-01-29 23:29:59 +01:00
parent 06f2f59d4f
commit 0459cd0952
No known key found for this signature in database
GPG key ID: 1C980A1B657B4A4F
3 changed files with 15 additions and 15 deletions

View file

@ -742,10 +742,12 @@ Use `:SSave!` or `:SDelete!` to always overwrite or delete an existing session.
*startify-:SLoad*
>
:SLoad [session]
:SLoad[!] [session]
<
Load a session. If you don't specify a session name, it will either prompt you
for one (Windows) or load the last used session (Unix).
Load a session. If you don't specify a session name, it will prompt you for
one.
If the `!` is given, it tries to source the last used session (only Unix).
Providing only a part of the session name works too, if you complete the
argument with either <c-d> or <tab> afterwards.