Skip to content

Forking this project #185

@romgrk

Description

@romgrk

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 ♥

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions