884
submitted 2 years ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 15 points 2 years ago* (last edited 2 years ago)

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 2 years ago

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

this post was submitted on 14 Jul 2023
884 points (95.4% liked)

Programmer Humor

36679 readers
18 users here now

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

Rules:

founded 5 years ago
MODERATORS