this post was submitted on 14 Jul 2023
888 points (95.5% liked)

Programmer Humor

31260 readers
1104 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 15 points 11 months ago* (last edited 11 months ago) (1 children)

Also Ctrl + w to delete one word backwards (which is what OP wants to do).

Edit: Nvm I misread the post, deleting is not what OP wants to do. Still gonna keep this because Ctrl + w is easily the readline shortcut I use the most.

[โ€“] [email protected] 5 points 11 months ago

While we're at it: Alt+d deletes the next word.