smilhey / cabinet.nvim

Cabinet is a plugin for Neovim that allows you to manage your buffers in drawers.
MIT License
23 stars 2 forks source link

suggest some sort of either persistence or warning on quit #5

Open unphased opened 7 months ago

unphased commented 7 months ago

If we have extensive workspaces set up in drawers and then quit vim unintentionally, then we've lost all the work setting that up.

smilhey commented 7 months ago

I've been working on some feature that would allow you to regenerate Drawers but I'm still stuck on some things. Should reloading a saved drawer repopulate the jumplists, loclists and quickfix list ?

I commited an attempt at implementing this with the caveat that you'll only get back the drawers layouts and buffers. Check the experimental features in the readme and tell me what you think about it !