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

Support Ctrl-G for exiting the Clap window #110

Closed
hupfdule opened this issue Oct 31, 2019 · 1 comment
Closed

Support Ctrl-G for exiting the Clap window #110

hupfdule opened this issue Oct 31, 2019 · 1 comment

Comments

@hupfdule
Copy link

I can close the Clap popup window with Esc (or ^[) without executing any action.

I'd like to have Ctrl-g added as additional key binding for doing that.

Ctrl-g is a standard key binding in a lot of applications (like GNU readline) for cancelling the current action. Therefore I usually hit that keybinding instead of Esc2, which does nothing in Clap.

Actually this is only half of the truth. If I (accidently) hit Ctrl-g and realize it does nothing in Clap, I hit Esc. But that does nothing, too, in that case! I have have to hit Esc again to actually close the Clap window.

Even if you don't consider adding Ctrl-g as default keybinding, you should add a section to the README about how to add additional keybindings for the builtin functions (like already requested in #104). That makes it easier to use non-standard keybindings for the clap-provided functionality.

@hupfdule
Copy link
Author

Wow, that's fast!

Many thanks. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant