-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Feat/close buffer from picker #4522
Feat/close buffer from picker #4522
Conversation
What about |
@lukepighetti I initially wanted to use |
…e_buffer_from_picker
…e_buffer_from_picker
…e_buffer_from_picker
…e_buffer_from_picker
…e_buffer_from_picker
…e_buffer_from_picker
…e_buffer_from_picker
…e_buffer_from_picker
…e_buffer_from_picker
…e_buffer_from_picker
…e_buffer_from_picker
I think I have landed on an implementation that is simple but adds flexibility to the picker. The PR adds the ability for any specific usage of the picker to define a special handling of key events that do not conflict with the default key events for the picker. Let me know your thoughts! |
@the-mikedavis hey! Thanks for the feedback. I totally see where you are coming from. #5505 would be a great enhancement and allow for this exact flexibility. If no one is working on that issue. I’d love to pick it up since I’ve been in that code with this PR. Do you have any guidance or thoughts on the implementation. You mentioned #5055, what are your thoughts on using the dynamic picker to achieve #5505. Would you like to see this PR left open and then updated once the other change is made? P.S. let me know if you’d like to take the conversation to that issue. |
Ah, 5055 was a typo. I meant 5505 😅 I've been thinking about #5505 and tinkering with ideas for a while and it's very tricky to solve. I wrote out some ideas in this branch (see |
I tried to implement the |
This branch has gone quite stale. We also intend to solve this differently (see above) so I am closing this out. Thanks for contributing |
Closes: #1593
Hey all, this allows the user to delete a buffer from the file picker by using
ctrl-x
to close andctrl-X
to force close. I didn't update any documentation yet; I first wanted to get feedback on my approach and the keybindings that I used.Please let me know any ideas on how to improve this implementation.