Closed jdholtz closed 1 year ago
Hey,
vim-obsession
to do the underlying session tracking. By default, project
is essentially a synonym for a folder, when vim is launched from a project without any arguments it tries to load a session for it if one exists already, if not starts a session while saving the session file in a centralized location configured by g:prosession_dir
.:Prosession
manually for the same. It will follow the same logic as on starting vim without any arguments, i.e. load an existing session if found, or start a new one.prosession_ignore_dirs
to prevent prosession to create a session for a specific directory, such as ~
prosession_last_session_dir
:Prosession
with path to the project to load / start a session for that path.Thanks! I will probably utilize autocmd
to run :Prosession
on startup to hopefully have less manual intervention. I appreciate you spending your time making this.
Hello. First of all, this is a very helpful plugin. I have three questions about using vim-prosession that I could not find in the documentation.
:Prossession
invoked before? For example, when I create a new project, for Prosession to start tracking my sessions, I need to first invoke:Prosession
. Then it will take care of automatically saving and restoring my sessions for eternity. Myg:prosession_on_startup
value is 1.~
and I dovim ~/project/file.txt
, I would want vim to start tracking myproject
directory session as the one I am currently in (Right now, it tracks my home directory session). I understand if this is not wanted or possible and there is an easy workaround for this (moving to the project directory), so I'm not too worried about this.Sorry for all the questions. Thanks!