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
Right now i have a session that's over 800 lines... I've been working on this client project awhile, and that's the output of many many days of opening and closing the same session.
in fact, scarily:
% grep -c badd redstamp.vim
829
I don't really want this many buffers open. :(
i've resorted to deleting the session, and starting again -- but i wonder, could you consider -- if there's any way? to be able to rebuild/reset the session with whatever is currently in view? I don't need hidden or unloaded buffers, for example, nor do i want to have settings that i've set, unset, etc.
or another best case way of doing it?
The text was updated successfully, but these errors were encountered:
I think the only thing that really stacks up when you work in the same session for a few months (which I do as well) is hidden buffers. Consider adding the following line to your vimrc script:
setsessionoptions-=buffers
With this setting the session plug-in will no longer persist hidden buffers; it will only remember buffers that are visible in a tab page / split window. I'll add this hint to the documentation so it's a bit more explicit how it works.
hey. just saw this - thanks for the tip; i think this will help, but it'd be also awesome to have a tool that cleans up a session to just whatever is happening right now?
Right now i have a session that's over 800 lines... I've been working on this client project awhile, and that's the output of many many days of opening and closing the same session.
in fact, scarily:
I don't really want this many buffers open. :(
i've resorted to deleting the session, and starting again -- but i wonder, could you consider -- if there's any way? to be able to rebuild/reset the session with whatever is currently in view? I don't need hidden or unloaded buffers, for example, nor do i want to have settings that i've set, unset, etc.
or another best case way of doing it?
The text was updated successfully, but these errors were encountered: