-
-
Notifications
You must be signed in to change notification settings - Fork 591
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 Request] Custom keyboard shortcuts #610
Comments
To clarify, I'm assuming you mean custom keyboard shortcuts inside the interactive search ui, If there are shortcuts you think make sense to add universally, it should be fairly simple to add them. The inputs are handled with this match statement. However adding the ability to have user-defined keyboard shortcuts would be a decent chunk of work, since you'd need to define some sort of API for the UI and commit to supporting it. Personally I don't think it's worth the effort. |
Yup that's what I mean.
I'm not too sure what you mean here on API for the UI, but fair enough. The keyboard shortcuts I use are the pretty standard ones, so I think adding them universally makes sense. The ones I want are pretty self-explanatory:
The library that's being used here, Termion, doesn't support the Would moving to Crossterm make sense? |
Those keybindings would make sense to be universal! Crossterm is a WIP (#331) but it's currently blocked due to a bug on zsh/macos (which is my work setup so I'm definitely not going to let that bug through 😂) |
Thanks for the great project!
It would be great for there to be custom keyboard shortcuts for each action. e.g. I often use
Ctrl + LeftArrow
,Ctrl + RightArrow
,Home
,End
,Delete
, which don't work in the editor. I'm sure other people might also have their own preferences.This can be done by allowing configurable escape sequences, or one of the libraries in Comprehensive keyboard handling in terminals - kitty. I know that Broot uses Crossterm.
The text was updated successfully, but these errors were encountered: