Open llinfeng opened 4 years ago
Sorry, but I wasn't active on GitHub in recent months. :)
Are you still using vim-startify and Dropbox? If so, I'll add an opt-out option for it. Probably g:startify_session_disable_last_symlink
.
I still use Dropbox but tend to use vim-startify
less actively. I picked up Tmux + vim-prosession
. Nevertheless, vim-startify
is still enabled upon start and I don't think Dropbox complains about it anymore.
Per my use case, I can no longer justify the need for a new g:startify_session_disable_last_symlink
option.
I find no mentioning of __LAST__
from the help file. My guess is that it is meant to get :SLoad!
to wrok on Unix machines?
For
:SLoad!
==> If the!
is given, it tries to source the last used session (only Unix).
Eating my own words and reopening this issue - It still helps to be able to issue the setting: let g:startify_session_disable_last_symlink=0
for Linux machines.
Thanks a lot!
May I opt to stop creating/updating the
__LAST__
auto-save session? Simply, to stop Startify from creating such symlink? Here is why:Out of the blue, the Dropbox client on one of my Windows 10 machine refused to upload local changes but continued to fetch remote updates seamlessly. One week later, the Dropbox support people gave me a simple solution ==> to avoid using symlink across all subfolders in
~/Dropbox/
. I used the following command-line arguments to look for symlink "files", and found__LAST__
to be the only one that exists on all my systems.find ~/Dropbox -type l -exec ls -lah {} \;
;dir "%HOMEPATH%\Dropbox" /A:L /S
find /mnt/c/Users/YourUserName/Dropbox -type l -exec ls -lah {} \;
(Need to update the username bit);Across all my Vim installation on various machines, I have defined an environmental variable with an absolute path to a sub-folder in
~/Dropbox
.Quote from Dropbox support:
Thanks a lot!