snacks.nvim icon indicating copy to clipboard operation
snacks.nvim copied to clipboard

feature: persistance

Open zbyju opened this issue 1 week ago • 1 comments

Did you check the docs?

  • [x] I have read all the snacks.nvim docs

Is your feature request related to a problem? Please describe.

Would it be possible to have mainly the picker but also explorer to remember the previous state?

I'm aware of the "smart" picker, which basically resumes the previous search, which is something I would like to have for all of my pickers and even for the explorer (open explorer, search or change the root, close the explorer, open again with the same state)

Disclaimer: I'm still quite new to neovim and am not sure how to do this better

Describe the solution you'd like

A boolean option that you could toggle if you want the snack to remember the state.

Describe alternatives you've considered

  • smart picker - works really well, but it's across all the pickers

Additional context

No response

zbyju avatar Feb 18 '25 00:02 zbyju