this post was submitted on 06 Jul 2023
35 points (97.3% liked)

Linux

47342 readers
1619 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] OptimusPrime@lemmy.moonling.nl 13 points 1 year ago* (last edited 1 year ago) (1 children)

CTRL + SHIFT + T (multiple times if needed) will reopen the last closed tab.

Problem solved

[–] lckdscl@whiskers.bim.boats 7 points 1 year ago (1 children)

I know, but this happens only when editing text. Tab closed = text gone.

[–] buckykat@lemmy.fmhy.ml 6 points 1 year ago (2 children)

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.

[–] OptimusPrime@lemmy.moonling.nl 3 points 1 year ago (2 children)

Not with CTRL + W

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

[–] jaykstah@waveform.social 3 points 1 year ago

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

[–] buckykat@lemmy.fmhy.ml 1 points 1 year ago

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

[–] cnqr@beehaw.org 1 points 1 year ago

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