logoalt Hacker News

bandie91yesterday at 10:26 AM1 replyview on HN

many get used to Ctrl-U, Return, ~, period keystroke sequence for this.


Replies

aragilaryesterday at 12:10 PM

For those of us in today's 10000, Ctrl-U is the default readline shortcut for unix-line-discard (see https://www.gnu.org/software/bash/manual/html_node/Commands-... and https://susam.net/unix-line-discard.html).