-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
The "q" keyboard shortcut #243
Comments
Maybe there should be a configuration option like |
A configuration option would be best. I can add this eventually, or would accept a PR for it. |
I've implemented this in a fork (https://github.com/tteeoo/amfora/tree/warn-before-quitting), and it works, but I came across some behavior that made me do it in a slightly odd way (perhaps I just don't know the codebase/libraries well enough). When you call the |
@tteeoo ideally you shouldn't need to that. I'm not sure what the solution is right now, but if I figure it out I'll let you know. |
Totally agree with the @szczja's remark, how many times I closed Amfora accidentally, I can't even count them it became a real problem. |
Thanks for sharing your experience @okalm. I have changed the default so that the q key alone is no longer supported. Note that you can already change what keys cause Amfora to quit by setting bind_quit = ["Q", "Ctrl-q"] This would support shift-q and ctrl-q only. Personally I will modify mine to keep the original behaviour: bind_quit = ["Ctrl-C", "Ctrl-Q", "q"] |
Please consider changing, or adding additional dialog box for the "q" keyboard shortcut. For me is very common that during browsing, with many tabs open I accidentally press "q" and Amfora quits without any warning. I think that "q" is too simple for that command (just leave CTRL + q, like CTRL + w). Or Amfora should warns by "are you sure" dialog.
The text was updated successfully, but these errors were encountered: