Live data from Hacker News

Show HN: Tip – use ctrl and w to rapid delete in terminal / shell

news.ycombinator.com

1–10 of 10 posts

Re: Show HN: Tip – use ctrl and w to rapid delete in terminal / shell

#9

This handling comes from readline, rather than your terminal/shell. Readline has many shortcuts available here's a random assortment: http://teohm.com/blog/2012/01/04/shortcuts-to-move-faster-in...

^W, ^U, ^C, ^S, ^Q, ^Z, etc are handled by the terminal driver. See stty -a

Re: Show HN: Tip – use ctrl and w to rapid delete in terminal / shell

#10
post #8
post #2

Useful tip. Made me realise ctrl-s works to go to start of line and ctrl-e to end of line. This is probably common knowledge for any Linux user but for me as a Mac user it's a revelation.

You mean ctrl-a for beginning-of-line?

Yeah, it's ctrl-A for start of line.

Here's a good cheatsheet: http://www.bigsmoke.us/readline/shortcuts