this post was submitted on 22 Jul 2024
74 points (98.7% liked)

Programming

17509 readers
5 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 4 months ago (11 children)

Ctl-U to delete everything on the line before cursor.

Ctl-E to skip to end of line.

Ctl-A to skip to beginning of line.

[–] Hammerheart 2 points 4 months ago* (last edited 4 months ago) (2 children)

ctrl-b: move cursor back one character

ctrl-f: move cursor foward one character

ctrl-d: delete character under cursor

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

But that's more key presses than just using existing keys

[–] Hammerheart 1 points 4 months ago

I find it easier using my pinky to hit ctrl than taking my fingers off the home row to use the arrow keys.

load more comments (8 replies)