this post was submitted on 06 Jun 2024
75 points (93.1% liked)

Linux

48372 readers
1293 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
 

I almost feel like this a somewhat pointless feature. It's almost easier to just learn the default ones as opposed to adding "-modernbindings" or creating an "enano" variant/copy.

all 47 comments
sorted by: hot top controversial new old
[–] [email protected] 30 points 5 months ago* (last edited 5 months ago) (2 children)

That's your opinion.

I like updating it to modern conventions. One day they become default and on another day you get rid of the old ones. The people of the future don't have to learn two sets of keybindings.

[–] [email protected] 7 points 5 months ago (1 children)

It's definitely just my opinion. Honestly did not mean to imply otherwise.

I would almost prefer them to just switch to the new keybindings by default in version 8.0.

[–] [email protected] 7 points 5 months ago (1 children)

It's definitely just my opinion. Honestly did not mean to imply otherwise.

For my opinion I usually create a comment below my post to seperate my opinion and the post itself.

On-topic: I do believe it's useful to have this switch and there's nothing stopping distros to change their default. Completely replacing the default keybindings might be surprising to long time users, but I also believe it should be done at some point. For the meantime this switch can be simply added as an alias.

[–] [email protected] 3 points 5 months ago (1 children)

Fair point. I guess this was more of a casual post, so I didn't think too much about it.

I would have preferred if they switched to new keyboard model in version 8.x by default.

I am a relatively light Linux user. Raspberry Pi headless via DietPi/Debian for NAS/Media server/torrents/PiHole and some experiments with self hosted services on major cloud services. I prefer to stick to defaults whenever possible.

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

I prefer to stick to defaults whenever possible.

Same goes for me.
E.g. changing vim keybindings on my local system to better suit my non-QWERTY keyboard would be annoying since they don't transfer to remote systems. That's a reason I like fish, because it's defaults are modern and useable, compared to zsh/bash which benefits strongly from plugins.

[–] Scio 17 points 5 months ago (2 children)

After all that, no ^S to save 🥲

[–] [email protected] 25 points 5 months ago* (last edited 5 months ago) (2 children)

^S for unprompted save is in the default keybinds, not that I could say when it was added. (Pretty sure it wasn't a pico thing, but that leaves quite a bit of time unaccounted for.)

Muscle memory for other editors kicked in when I was editing something and did a literal slow realisation and double-take when it worked.

Now if only I could stop pressing ^W in Firefox to use nano's "whereis" to find something that'd be great.

For those unaware, it closes the current tab. Or the whole browser. Ugh.

[–] Scio 8 points 5 months ago

:GASP: ^S does save! I have played myself for a fool all these years!!

Now I just have to unlearn ^X, Y, enter. . . :thisisfine:

Firefox desperately needs a way to customize keyboard shortcuts, especially to disable them. Shortkeys isn't really enough.

[–] [email protected] 5 points 5 months ago (1 children)

FYI: ctrl + shift + t brings back closed tabs.

[–] [email protected] 2 points 5 months ago

True. Other tools include: Ctrl+Shift+N to bring back a closed window if there's another window of the same browser instance still open, and when there isn't, there's Restore Previous Session which is accessible a couple of ways.

Neither bring back the comment that was being typed in a textbox on the page though. Guess when I usually ^W

[–] [email protected] 2 points 5 months ago (1 children)

True, I remember the first time I used nano, I was like "Ctrl + O to save, huh?"

[–] Scio 6 points 5 months ago (1 children)

^S works!! ...As revealed by our kind palindromic friend on the other sibling comment! Why they don't just list it on the statusbar we would never know!

[–] [email protected] 2 points 5 months ago (1 children)

Probably because Ctrl+S is the shortcut for scroll lock on the terminal so it can be a bit problematic if you start using it when not in nano. It freezes the output and you have to use Ctrl+Q to unlock.

[–] Scio 1 points 5 months ago

Makes sense! I should go check what my Zellijn configs are set to on the servers 🤔

[–] [email protected] 11 points 5 months ago

"modern" is a very loaded term here

[–] grue 6 points 5 months ago (1 children)

What does "modern" mean? Emacs-like? Vim-like? Some other bastard system?

[–] Majestix 13 points 5 months ago (1 children)

Read the Article. Modern like what most Graphical Editors Ship.

[–] grue -3 points 5 months ago (2 children)

So "some other bastard system" it is, then.

That's a shame; a GNU project should be consistently GNU-like (i.e. adopt Emacs key bindings).

[–] [email protected] 1 points 5 months ago

I like all editors to have as many diverse sets of keybindings as possible. Sadly most apps don't, which is a main reason why I never bothered to properly learn emacs bindings, as I wouldn't be able to use them anywhere else.