552
You don't need the mouse (lemmy.blahaj.zone)
you are viewing a single comment's thread
view the rest of the comments
[-] SpaceNoodle@lemmy.world 27 points 18 hours ago

Ctrl-K and Ctrl-U in nano, a sane editor that does not hate you

[-] mosiacmango@lemm.ee 8 points 6 hours ago

Vim doesn't hate you. It loves who you could be.

[-] SpaceNoodle@lemmy.world 4 points 6 hours ago

I wish I could :q! you

[-] eager_eagle@lemmy.world 28 points 18 hours ago

Ctrl-X Ctrl-V in micro, if you appreciate a sane editor with sane keybindings.

[-] SpaceNoodle@lemmy.world 7 points 17 hours ago

That's cool, and I can't wait for it to gain widespread adoption, but nano is already more commonly installed by default.

[-] fl42v@lemmy.ml 1 points 11 hours ago

"Sane" keybindings are questionable given Ctrl's location (painful to press with both pinky and thumb fingers). It's standard, I'll give it that, but those in helix or vim are mostly (I'm looking at you, navigation between splits) much saner all things considered

[-] eager_eagle@lemmy.world 1 points 10 hours ago

or maps your caps to Ctrl, like vim users map it to esc

[-] computergeek125@lemmy.world 1 points 1 minute ago

Which is exactly where Sun Unix keyboards place it, in a same spot

[-] fl42v@lemmy.ml 1 points 5 hours ago

Or build yourself a crkbd, yeah. That's beside the point.

[-] Blisterexe@lemmy.zip 4 points 17 hours ago

How does micro compare to nano?

[-] SpaceNoodle@lemmy.world 27 points 15 hours ago
[-] eager_eagle@lemmy.world 5 points 14 hours ago
[-] eager_eagle@lemmy.world 4 points 14 hours ago* (last edited 14 hours ago)

better ootb experience with syntax highlighting, sane keybindings, plugin system, and other little things nano lacks.

[-] SpaceNoodle@lemmy.world 1 points 12 hours ago* (last edited 11 hours ago)

Nano has had syntax highlighting for quite a while.

Its keybindings also make sense if your brain is still stuck in the '90s. If not, they're literally printed at the bottom of the terminal.

If I need plugins, I'm not gonna be fucking around with a terminal text editor.

What are these "other little things?" Certainly not "probably already installed on your system."

[-] Ephera@lemmy.ml 3 points 17 hours ago

Doesn't that just cut one line at a time? Or is this Emacs-like, where it buffers the lines?

That host doesn't have internet access, though, so installing a different editor wasn't really an option to begin with...

[-] SpaceNoodle@lemmy.world 6 points 17 hours ago

If the host doesn't already have nano, you fucked up super early

But yeah, it buffers the lines.

[-] nickwitha_k@lemmy.sdf.org 3 points 18 hours ago

How do I do regex or connect to an LSP with nano?

[-] SpaceNoodle@lemmy.world 5 points 17 hours ago

That's the neat part: you don't.

[-] nickwitha_k@lemmy.sdf.org 3 points 15 hours ago

Fair enough. Those are things that I like to be able to use, however. Which makes nano/pico/micro a non-starter for me. Different strokes for different folks.

[-] SpaceNoodle@lemmy.world 2 points 15 hours ago

Well, they're not necessary for 99.999% of what you need a quick CLI text editor for.

[-] fl42v@lemmy.ml 1 points 11 hours ago

The use-cases for unquick GUI text editors are merely a subset of those solved by quick TUI text editors :P

this post was submitted on 26 Oct 2024
552 points (97.1% liked)

Programmer Humor

32305 readers
763 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS