Hacker News new | ask | show | jobs
by stephengillie 4051 days ago
Why can't we rebind this key to another key? Why not make CTRL+Q or CTRL+B remove the last word.

Something which really grinds my gears is when software has non-rebindable hotkeys. Why are keybinds hardcoded? We can change our controls in games from WASD to ESDF. Why can't we change our copy key in Windows from CTRL+C to CTRL+L, without using 3rd party software?

Having written my own applications on occasion, I know this isn't that difficult. So why is it so uncommon?

3 comments

At least in vim, you can remap just about anything that you want to.

The reason the feature doesn't get included as often is because of exactly this. Even someone who could make use of the feature, and is annoyed by the current keybindings, doesn't take advantage of re-binding. The reason it is available on video games, on the other hand, is because its necessary for controller support, which a large enough portion of the video game community uses for it to have high demand.

Rebinding system shortcuts makes life difficult for application developers. They have no idea if they can use CTRL+L for their shortcuts or not.

In-app rebinding also makes life difficult for the developer in the future, because any new feature added may have it's key rebound by some users.

Look at Emacs. Technically users can rebind things, but it's easier to learn the defaults since every other key is already bound to something else.

Generally everything is rebindable internally, but users are only offered compatibility modes with other popular software.

I've played more than one game (Freespace, Tribes, Warframe) that had more than 30 keybinds. Managing keymaps can be challenging, but it's not impossible.

And discussing this reminds me how much of a pain it is. What we need is a system where we set our own defaults in an XML file or some other common format (or use a software tool to do that). Then we can select this keymap when we install applications.

I guess, this is often not prioritized because the majority wouldn't use the configurable keybindings.

For what it's worth: I use AutoHotkey (on Windows) for configuring system wide shortcuts.

Official homepage: http://www.autohotkey.com/ My own ahk files: https://github.com/philippotto/shortcut-collection

also control + q would quit many sane applications
Another hotkey we could rebind! How about we change it to Alt+Q?