-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Is your feature request related to a problem? Please describe.
While managing my git repo, I accidentally dropped a pen I was fidgeting with on the keyboard, completely nuking all of my uncommitted changes (rip 6hrs). It took me a good while to even figure out what command may have been run. Only to realise that the keybind combination to perform a hard reset is gh, two buttons next to each other on the keyboard. I am now deeply scared and honestly baffled at how I have not fat-fingered these keys by accident previously.
Describe the solution you'd like
Make keybinds in the reset menu (and any other menu) changeable via the keybind config.
Describe alternatives you've considered
A confirmation menu for specifically unrecoverable destructive changes. (If implemented, the user must be able to opt-out.)
Additional context
I am not the first to propose this alternative. Previous requests were denied for the same reason the git cli tool denies them. Unlike a cli tool, in a tui application, accidents are going to happen, and the same argument here is unjustifiable in my opinion.