rmagatti / auto-session

A small automated session manager for Neovim
MIT License
1.19k stars 49 forks source link

[FEATURE] Save Quickfix List #173

Open ariel-frischer opened 1 year ago

ariel-frischer commented 1 year ago

Is your feature request related to a problem? Please describe. I want to be able to save the quickfix list for each session and maybe even location list.

Describe the solution you'd like Saving the quickfix list in the session file.

rmagatti commented 1 year ago

Hey @ariel-frischer essentially there is currently no sessionoptions for quickfix in Vim. I agree it would be a welcome addition, in fact there is an old open issue about it in https://github.com/neovim/neovim/issues/7602 about this very thing. Hopefully we can get some traction on that.

As for somehow implementing this through auto-session, it's not one of the goals of this plugin to implement its own session management separately from what Neovim has to offer, that said, one could use probably the session hooks to achieve saving and reloading the quickfix window while there isn't any upstream support for it.

ariel-frischer commented 1 year ago

@rmagatti Thanks for the response, that issue does seem super old though (2017!) so I'll look into using the session hook. Really loving the repository though it works great out of the box!

rmagatti commented 1 year ago

I'll just keep this open though for tracking