4 ms·
> In particular, don't put "close this window" on control-W and "quit this application" on control-Q. I'm looking at you, Firefox. Oh man, I actually remapped
by roughly 6y ago
> In particular, don't put "close this window" on control-W and "quit this application" on control-Q. I'm looking at you, Firefox.
Oh man, I actually remapped quit on Firefox because this bit me too many times and Firefox kept removing ways to confirm quit. I will die on the hill that "confirm quit" is the correct behavior.
(I have, in fact, died on this hill enough times I may be outing my HN burner with this comment.)
- natrys 6y agoApparently it's finally going to be configurable in Firefox 87 (next release)[1]. browser.quitShortcut.disabled true The default will still be false though. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=52821 https://bugzilla.mozilla.org/show_bug.cgi?id=52821 (only took 21 years, jeez)
- lifeformed 6y agoReminds me of playing PUBG: while in a moving vehicle, press R to reload, or press F to jump out and instantly die.
- speedgoose 6y agoThe designers were aware. One of the car in-game has a F2HNK license plate (f to honk), which doesn't honk but jump out of the car.
- vxNsr 6y agoThis is where extra mouse buttons save you, if my wasd fingers are leaving their positions I'm doing something wrong.
- input_sh 6y agoMy favourite is editing crontab (the scheduler on Linux). It's -e to edit the file, -r to delete all content from it with no confirmation dialogue or anything. I fell for that twice already. I can't imagine how often you need to delete everything from a file without using a text editor. I'm sure it's not that common that you need to give it a one-letter flag (instead of --remove or --delete) and put it right next to the fucking edit flag.
- marcosdumay 6y agoOr no flag at tall to replace it entirely with the stdin contents. How many commands are there that completely destroy all the data they can access if you call them without parameters? I really wonder if there is any script on any distro that uses this behavior. Most distros did go into the sane "let's split the crontab into many files" option.
- teddyh 6y agoI thought newer Firefox changed it to Ctrl-Shift-Q?
- goldsteinq 6y agoConfirm quit is a default for me. Pressing ^Q gives me "you have 284 tabs, are you sure you want to close them" window.
- oneeyedpigeon 6y agoTbf, I think this is more the Mac's fault than Firefox's. I think cmd-q/cmd-w probably predate Firefox's use of them. > I will die on the hill that "confirm quit" is the correct behavior. Google Chrome has a weird 'solution': on cmd-q press it popups a temporary overlay which reads "Hold cmd-q to quit"
- eyesee 6y ago> I think cmd-q/cmd-w probably predate Firefox's use of them. By a decade or two, yes.
- kps 6y ago> In particular, don't put "close this window" on control-W Right — Control-W should always¹ be ‘erase word’. Windows/IBM really mucked things up by stealing Control for GUI operations (among other things like conflating Tab with Next-Field because they're the same thing on punch cards). ¹ Okay, ‘end of transmission block’ is also acceptable.