Hey,
Due to the lack of responsiveness from the maintainer of this plugin, I've decided to fork it and try to create a community-maintained version of this plugin. If you're interested in helping maintain the project and fix issues, please join me at https://github.com/romgrk/vim-session.
The readme lists a few of the additions that have already been made (transcribed below).
- Added global variables
g:xolox#session#current_session_name and g:xolox#session#current_session_path
Reason: it's more performant than xolox#session#find_current_session() if you use the session name in your statusline or tabline.
- Added autocommands
SessionSavePre and SessionSavePost: third-party plugins sometimes create buffers that can mess up the session file (eg empty buffer or weird window layout). Those autocommands leave a hook to disable those plugins while the session is saved.
Third-party plugins can also save their state in the global variable g:session_save_commands as a list of commands
that will be added to the session file.
- (from yangyangxcf/vim-session) Added
:MakeSession command
Thanks ♥
Hey,
Due to the lack of responsiveness from the maintainer of this plugin, I've decided to fork it and try to create a community-maintained version of this plugin. If you're interested in helping maintain the project and fix issues, please join me at https://github.com/romgrk/vim-session.
The readme lists a few of the additions that have already been made (transcribed below).
g:xolox#session#current_session_nameandg:xolox#session#current_session_pathReason: it's more performant than
xolox#session#find_current_session()if you use the session name in your statusline or tabline.SessionSavePreandSessionSavePost: third-party plugins sometimes create buffers that can mess up the session file (eg empty buffer or weird window layout). Those autocommands leave a hook to disable those plugins while the session is saved.Third-party plugins can also save their state in the global variable
g:session_save_commandsas a list of commandsthat will be added to the session file.
:MakeSessioncommandThanks ♥