3 ms·
If 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
by jlokier 4y ago
If 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.