Show HN: Tip – use ctrl and w to rapid delete in terminal / shell 11 points by abpai 11y ago ↗ HN hours of life saved :)
[–] wsc981 11y ago ↗ 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. [–] amk_ 11y ago ↗ You mean ctrl-a for beginning-of-line? [–] atsaloli 11y ago ↗ Yeah, it's ctrl-A for start of line.Here's a good cheatsheet: http://www.bigsmoke.us/readline/shortcuts
[–] amk_ 11y ago ↗ You mean ctrl-a for beginning-of-line? [–] atsaloli 11y ago ↗ Yeah, it's ctrl-A for start of line.Here's a good cheatsheet: http://www.bigsmoke.us/readline/shortcuts
[–] atsaloli 11y ago ↗ Yeah, it's ctrl-A for start of line.Here's a good cheatsheet: http://www.bigsmoke.us/readline/shortcuts
[–] [dead] choicenotchance 11y ago ↗ That's just common knowledge. I mean, anyone who has worked for about a year on linux would know.
[–] stevekemp 11y ago ↗ 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... [–] ksherlock 11y ago ↗ ^W, ^U, ^C, ^S, ^Q, ^Z, etc are handled by the terminal driver. See stty -a
[–] jdmoreira 11y ago ↗ https://github.com/0nn0/terminal-mac-cheatsheet/wiki/Termina... [–] cwt 11y ago ↗ This is glorious!
9 comments
[ 2.7 ms ] story [ 28.4 ms ] threadHere's a good cheatsheet: http://www.bigsmoke.us/readline/shortcuts
Readline has many shortcuts available here's a random assortment:
http://teohm.com/blog/2012/01/04/shortcuts-to-move-faster-in...