Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
Vim sessions can restore tab pages, but they do not restore tab-local variables. This makes it hard for plugins or small local workflows to attach durable metadata to a tab without writing a parallel session file.
Describe the solution you'd like
I would like :mksession to have a way to persist tab-local variables, probably as a sessionoptions item analogous to globals.
For example:
set sessionoptions+=tabvars
could t: variables after the session recreates the tabpages
Describe alternatives you've considered
Storing extra metadata somewhere else... but nothing is ideal since it doesn't truly persist across different nvim sessions.
Happy to work on this... are there any particular challenges you foresee? I've worked on others things as you know but not the tabpage code yet...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Hmm, currently the only variables stored by sessions are global variables that start with an uppercase letter, so adding a feature that stores tabpage-local variables sounds a bit strange.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()