653
You don't need the mouse (lemmy.blahaj.zone)
submitted 1 year ago by Soluna to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Ephera@lemmy.ml 3 points 1 year 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 1 year ago

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

But yeah, it buffers the lines.

[-] clb92@feddit.dk 2 points 1 year ago* (last edited 1 year ago)

Doesn’t that just cut one line at a time?

Move the cursor to the start of what you want to cut, press ALT+A, then move the cursor with arrow keys (you'll see text be highlighted from where the cursor was to where you move your cursor), then once you've moved the cursor to where you want, press CTRL+K to cut.

this post was submitted on 26 Oct 2024
653 points (100.0% liked)

Programmer Humor

39203 readers
12 users here now

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

Rules:

founded 6 years ago
MODERATORS