You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What?
I quite like advanced session management as in existing plugins (rmagatti/auto-session, jedrzejboczar/possession.nvim), but they lack one feature per default: automatic session management as of current git-branch (reflecting current working ticket).
Additionally I'd like to see a picker as well, just in case an old task gets picked up again in a new (bugfix/chore/...)-branch and I want to reuse that old session of the old branch
Why?
Session management is useful if you work on the same project, right? But inside of a project, I usually got different sessions/layouts/tabpages as per task, which is usually reflected by specific branches.
This should be relative straightforward to implement with shell script wrappers around your start file that looks up 1. the git branch, 2. path to load the session file from predefined paths (nvim -S sessionfile) and conversely storing the session file with a lua command that calls :mksession/:mksession!.
Once you are done with this, you can convert the hacky solution into a lua plugin.
What?
I quite like advanced session management as in existing plugins (rmagatti/auto-session, jedrzejboczar/possession.nvim), but they lack one feature per default: automatic session management as of current git-branch (reflecting current working ticket).
Additionally I'd like to see a picker as well, just in case an old task gets picked up again in a new (bugfix/chore/...)-branch and I want to reuse that old session of the old branch
Why?
Session management is useful if you work on the same project, right? But inside of a project, I usually got different sessions/layouts/tabpages as per task, which is usually reflected by specific branches.
Potential existing implementations:
https://github.com/superDross/ticket.vim
Potential pitfalls:
?
The text was updated successfully, but these errors were encountered: