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
Did you check the docs and looked for existing issues?
I have read CONTRIBUTING.md
I have read the docs (README.md, :h project-nvim, etc.)
I have checked for existing issues related to this one, whether open or closed
Operating System and, if possible, what version?
Win11
What would you like integrated?
Integrate session management or integration with a session plugin so that opening a project opens the associated session.
How would this plugin improve?
I work on multiple projects and I need to re-open files whenever I open a project with this plugin. I don't use a session plugin (yet), but I'd love to see this plugin automate session management based on opening a project.
Have you considered alternative solutions?
No response
Is there any code implementation you'd suggest?
-- Leave this unchanged if there is no code you can include
I know the mini suite is pretty popular. I use some specific plugins instead of the entire suite.
Maybe an easy first pass would be to look for or create a session file in the root directory when a project is added? I'd rather just use your plugin :)
P.S. Please be patient. I'll be reading a ton of documentation and code before I can appropriately figure out how to integrate this properly. You'll be able to track the progress in #21.
@tgaldi I tried replicating your steps, but nothing bad happened. I hope my new patches could've fixed it.
Unless the UI shows items separated by a \ for you...
If so , please tell me so that I can patch it. I use Linux so I can't test it on Windows myself right now.
I appreciate your patience, by the way.
Demonstration
This is not related to your latest issue, by the way.
No worries at all I appreciate you wanting to add this feature, I really love this plugin. I'm on Windows so maybe that is part of the issue.
Maybe I'm misunderstanding the concept of sessions though... What I was imagining is some mechanism to save the current windows/buffers for a project, so that when you open the project again it restores everything.
@tgaldi After debating myself for a while I've come to the conclusion I'm not following up on this (entirely). I LOVE the idea, don't get me wrong, but until I am able to deal with #24, and with the original plugin's implementations getting in the way (without absolutely wrecking this plugin), I think I'm going to address this later.
In the meanwhile, I think this plugin can be paired with far more capable and complete session management plugins (that I know of). It's not my place to recommend which one(s) you could use, only to point you to rockerBOO/awesome-neovim#session.
I can do some fixes in the future to enhance compatibility with some of these.
I'll move this to the Discussions section and pin it so that I don't forget about this (unlikely since I am very interested). I hope you'll understand.
Sorry for the inconvenience!
Repository owner locked and limited conversation to collaborators on Oct 27, 2025
Activity
DrKJeff16 commentedon Sep 29, 2025
@tgaldi Do you have any session plugin in mind? I use https://github.com/gennaro-tedesco/nvim-possession but I'm wondering if some would prefer an alternative first.
tgaldi commentedon Sep 29, 2025
No, seems like there are quite a few plugins for session management. I imagine the two big ones would be:
https://github.com/folke/persistence.nvim
https://github.com/nvim-mini/mini.sessions
I know the mini suite is pretty popular. I use some specific plugins instead of the entire suite.
Maybe an easy first pass would be to look for or create a session file in the root directory when a project is added? I'd rather just use your plugin :)
DrKJeff16 commentedon Sep 29, 2025
I'll look right into it.
DrKJeff16 commentedon Sep 29, 2025
@tgaldi
P.S. Please be patient. I'll be reading a ton of documentation and code before I can appropriately figure out how to integrate this properly. You'll be able to track the progress in #21.
9 remaining items
DrKJeff16 commentedon Sep 30, 2025
@tgaldi I tried replicating your steps, but nothing bad happened. I hope my new patches could've fixed it.
Unless the UI shows items separated by a
\for you...If so , please tell me so that I can patch it. I use Linux so I can't test it on Windows myself right now.
I appreciate your patience, by the way.
Demonstration
This is not related to your latest issue, by the way.
project_nvim_example.mp4
tgaldi commentedon Sep 30, 2025
No worries at all I appreciate you wanting to add this feature, I really love this plugin. I'm on Windows so maybe that is part of the issue.
Maybe I'm misunderstanding the concept of sessions though... What I was imagining is some mechanism to save the current windows/buffers for a project, so that when you open the project again it restores everything.
DrKJeff16 commentedon Sep 30, 2025
That can be achieved, but I'll have to rework how sessions are stored in the first placce, then add checks if bufnr/winid is available.
I'll try some proof of concepts. It'll take me a bit.
P.S. Don't worry, I've had something like that in mind for a while, but had to tend to stabilizing stuff.
DrKJeff16 commentedon Oct 2, 2025
@tgaldi Hey there! #23 is my attempt.
To be brief with my progress so far:
DrKJeff16 commentedon Oct 27, 2025
@tgaldi After debating myself for a while I've come to the conclusion I'm not following up on this (entirely). I LOVE the idea, don't get me wrong, but until I am able to deal with #24, and with the original plugin's implementations getting in the way (without absolutely wrecking this plugin), I think I'm going to address this later.
In the meanwhile, I think this plugin can be paired with far more capable and complete session management plugins (that I know of). It's not my place to recommend which one(s) you could use, only to point you to
rockerBOO/awesome-neovim#session.I can do some fixes in the future to enhance compatibility with some of these.
I'll move this to the Discussions section and pin it so that I don't forget about this (unlikely since I am very interested). I hope you'll understand.
Sorry for the inconvenience!