logoalt Hacker News

SoftTalkerlast Thursday at 4:15 PM1 replyview on HN

I knew most of these but the $_ variable and "ESC + ." to reference or insert the last argument of the previous command. I can see getting some use out of that, so thanks for posting.


Replies

t312227last Thursday at 4:37 PM

or - as an alternative to <esc> + ".":

for the last argument

* <alt> + "."

if you want the -<n>th argument:

* <alt> + "_" # n times :=)

* <alt> + "."

cheers a..z