logoalt Hacker News

fragmedelast Thursday at 10:07 AM2 repliesview on HN

Fwiw, in Bash, alt-shift-3 will prepend the current command with # and start a new command.


Replies

j4cobgarbylast Thursday at 11:02 AM

More generally, it's alt-#. On an ISO (e.g. UK) keyboard layout, shift-3 isn't a hash.

dotancohenyesterday at 4:06 AM

Thank you so much! I do this constantly. For me it was Ctrl-A Shift-3 Enter - two keystrokes too many.