I keep closing my browser tabs by accident with Ctrl + W

lckdscl [they/them]@whiskers.bim.boats to Linux@lemmy.ml – 39 points –

While editing in an input field, I'm so used to going for Ctrl+W instead of Ctrl+Backspace because it's more ergonomic. But almost all modern browsers use Ctrl + W to close tabs. Since when was this a convention? I'd love to go back in time and git revert this change. Incredibly frustrating.

TL;DR: old man yelling at clouds.

30

You are viewing a single comment

Doesn't your browser warn you about closing a tab with an active text input field in it? I get an "information you've entered may not be saved" popup.

Not with CTRL + W

It “force closes” the tab. Correct me if I’m wrong.

Hmm just tested cause I was curious. I guess it depends on the site?

Firefox and chromium still prompted me with "are you sure" using CTRL+W on gmail and lemmy but closed without confirmation on Twitter

I get the same warning popup behavior closing the tab with the mouse or with ctrl-w

It needs to be an active form, text field is not sufficient.