this post was submitted on 05 Oct 2023
130 points (97.1% liked)

Linux

48220 readers
915 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 52 points 1 year ago* (last edited 1 year ago) (3 children)

Micro - not quite as fancy as Helix but it’s a static binary, bells and whistles included, and ready to go without config. If you’re still using nano/pico, micro is a nice step up in functionality without the complexity of vim et al.

Multiple cursors, splits and tabs, mouse support, syntax highlighting, keyboard shortcuts that are more noob-friendly / familiar, it’s great.

[–] [email protected] 29 points 1 year ago (2 children)

I don't know why Micro hasn't completely replaced Nano in the Linux world.
Wait, yes I do.
Despite believing it to be better in every way, my dumb fingers keep automatically reaching for the Nano keyboard shortcuts.

You know what the key combo is to copy a selection of text in Micro?
Ctrl C, why would it ever be anything else?
You know what the key combo is to copy a selection of text in Nano?
Fucking shift, alt, 6.
6!!

And then Ctrl U to paste. I hate that I'm used to that.

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (1 children)

Never heard of that key combo in nano before, I've always used ctrl-K (which actually cuts, then I have to paste it back again if I want to leave that text in place).

[Edit] Looks like you only need to hit alt-6, not shift-alt-6, to copy a full line or whatever text has been highlighted.

[–] [email protected] 1 points 1 year ago (1 children)

Huh, I wonder where I got the shift from. Still kinda bonkers though.

[–] [email protected] 3 points 1 year ago

It's because of what ctrl+c does in most terminals

[–] [email protected] 5 points 1 year ago
[–] [email protected] 2 points 1 year ago

Hell yeah, Micro master race. It gives me VSCode feels on the CLI. It's great ❤️

[–] [email protected] 1 points 1 year ago

Only thing missing is code block folding and unfolding functionality