Hacker News new | ask | show | jobs
by teddarific 1063 days ago
Definitely one of my pet peeves is when an app overrides a default short cut. Especially one like refreshing the page.

I wish there was some sort of universal agreement or API for what short cuts should do functionally.

2 comments

Jira hijacks Control+F and directs you towards their custom search functionality. Exactly what I DON'T WANT.
Yep, github too is guilty of this sin.

I think this is a normal (and unhealthy) consequence of the JS browser APIs keeping expandong. A sort of Greenspuns Tenth Rule Of Programming that happened on the web platform.

I am not sure there is a cure. Every successful platform would have been bound to eventually become that.

AWS has this thing that allows you to connect to an virtual machine from the web console, giving you browser based terminal. Very convenient and nifty. Except using ^W to delete word is so hardwired in my muscle memory that I ended up accidentally closing the tab (and losing state) endless times... I don't think its solvable problem

That being said, same issue happens, albeit to a lesser degree, with desktop apps where occasionally the DE/WM shortcuts conflict with some applications shortcuts.

In Firefox you can enable the ui.key.textcontrol.prefer_native_key_bindings_over_builtin_shortcut_key_definitions setting, but I think you also need to enable Emacs keys in Gtk.

With this I'm able to use Ctrl+w normally in the Gitpod terminal, so this might work for the one in AWS as well.