Skip to content

Saving colorscheme to session file on exit #85

Description

@j-krl

Is there a way you could recommend that I save my current colorscheme to the session file before exiting vim? With regular old :mksession I can do it pretty easily with an autocmd that triggers on SessionWritePost where I write an extra line to the session file. This doesn't seem to work with vim-obsession.

I noticed there's an g:obsession_append variable in the plugin source, but I don't think it will work for something dynamic like the current colorscheme.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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