4 ms·
Hint: Don't use ctrl-w in their terminal. Turns out that has another meaning in Firefox... [EDIT]: I'm zero for three thus far. I give up.
by jcuenod 4y ago
Hint: Don't use ctrl-w in their terminal. Turns out that has another meaning in Firefox...
[EDIT]: I'm zero for three thus far. I give up.
- mdaniel 4y agoThat drives me starkraving mad in AWS CloudShell, because muscle memory happens faster than thinking. I thought there was a web/dom method designed for gaming like "capture all input events" but maybe it has to be in full-screen to work or something The other one is pressing esc in some web ui if I've been vimming too recently and having it nuke whatever I've typed :-( (it was almost certainly in an Atlassian product, cause they're awesome like that)
- jlokier 4y agoIf you open the tab in its own window (i.e. no other tabs) and also pin the tab, turns out ctrl-W doesn't close the tab in Firefox. The key combo still appears to be intercepted, as the menu flashes but it doesn't close the tab. So I doubt you can use it in the terminal, but at least you won't lose your work. If you pin the tab but not in its own window, ctrl-W doesn't close the tab but it does switch to another tab. Source for the first point: https://www.reddit.com/r/firefox/comments/rs2bhn/comment/hqnylbj/?utm_source=reddit&utm_medium=web2x&context=3 https://www.reddit.com/r/firefox/comments/rs2bhn/comment/hqn... The rest is from me trying things out just now on MacOS, where really I used cmd-W, because ctrl-W doesn't do anything on MacOS. I'm assuming the corresponding behaviours will apply to ctrl-W on Windows and Linux, but you should test before relying on this.