parent
579b106724
commit
f7c4e8a0cb
|
@ -243,13 +243,18 @@ it on-the-fly, so that :Startify is always up-to-date.
|
|||
>
|
||||
let g:startify_session_autoload = 0
|
||||
<
|
||||
If you fire up "vim" in a directory that contains a "Session.vim", that session
|
||||
will be loaded automatically. Otherwise it will be shown as the top entry in
|
||||
the Startify buffer.
|
||||
If this option is enabled and you start Vim in a directory that contains a
|
||||
`Session.vim`, that session will be loaded automatically. Otherwise it will be
|
||||
shown as the top entry in the Startify buffer.
|
||||
|
||||
This also works if you open a bookmarked directory.
|
||||
The same happens when you |:cd| to a directory that contains a `Session.vim`
|
||||
and execute |:Startify|.
|
||||
|
||||
Great way to create a portable project folder.
|
||||
It also works if you open a bookmarked directory. See |g:startify_bookmarks|.
|
||||
|
||||
This is great way to create a portable project folder!
|
||||
|
||||
NOTE: This option is affected by |g:startify_session_delete_buffers|.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*g:startify_session_before_save*
|
||||
|
@ -282,9 +287,14 @@ This also works for sessions started with:
|
|||
------------------------------------------------------------------------------
|
||||
*g:startify_session_delete_buffers*
|
||||
>
|
||||
let g:startify_session_delete_buffers = 0
|
||||
let g:startify_session_delete_buffers = 1
|
||||
<
|
||||
Delete open buffers before loading a new session.
|
||||
Delete all listed buffers when loading or closing a session.
|
||||
|
||||
1. When using |startify-:SLoad|.
|
||||
2. When using |startify-:SClose|.
|
||||
3. When using |g:startify_session_autoload|.
|
||||
4. When choosing a session from the Startify buffer.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*g:startify_change_to_dir*
|
||||
|
@ -646,6 +656,9 @@ for one (Windows) or load the last used session (Unix).
|
|||
|
||||
Providing only a part of the session name works too, if you complete the
|
||||
argument with either <c-d> or <tab> afterwards.
|
||||
|
||||
NOTE: This command is affected by |g:startify_session_delete_buffers|.
|
||||
|
||||
*startify-:SClose*
|
||||
>
|
||||
:SClose
|
||||
|
@ -653,6 +666,8 @@ argument with either <c-d> or <tab> afterwards.
|
|||
Save and close the current session, close all listed buffers, and open the
|
||||
Startify buffer.
|
||||
|
||||
NOTE: This command is affected by |g:startify_session_delete_buffers|.
|
||||
|
||||
==============================================================================
|
||||
MAPPINGS *startify-mappings*
|
||||
|
||||
|
@ -938,7 +953,6 @@ This is my configuration..
|
|||
let g:startify_update_oldfiles = 1
|
||||
let g:startify_session_autoload = 1
|
||||
let g:startify_session_persistence = 1
|
||||
let g:startify_session_delete_buffers = 1
|
||||
|
||||
let g:startify_skiplist = [
|
||||
\ 'COMMIT_EDITMSG',
|
||||
|
|
Loading…
Reference in a new issue