Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add resumable picker option #1530

Open
1 task done
wvffle opened this issue Mar 8, 2025 · 0 comments
Open
1 task done

feature: add resumable picker option #1530

wvffle opened this issue Mar 8, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@wvffle
Copy link

wvffle commented Mar 8, 2025

Did you check the docs?

  • I have read all the snacks.nvim docs

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

I'd like to migrate to snacks explorer. One of the things that is bothering me is that after opening and closing (I'm using auto_close), it overrides the last opened picker and Snacks.picker.resume() then opens the explorer.

Describe the solution you'd like

Add an option like resumable = true | false to picker options, so we can filter out pickers that we don't want to override the last opened picker.

Describe alternatives you've considered

none

Additional context

No response

@wvffle wvffle added the enhancement New feature or request label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant