GNU Nano gains optional modern keybindings – OSnews

Alphane Moon@lemmy.ml to Linux@lemmy.ml – 84 points –
osnews.com

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.

49

You are viewing a single comment

After all that, no ^S to save 🥲

^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.

: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.

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

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

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

^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!

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.

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