0

As the title, type M-C-y, can use it, but what if i want to use the argument to recall the nth argument in the previous command...Thanks for answering...

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by dspjm
0

Hi there. I just figured this out after reading your thread here, so in case you haven't found it yet, the answer is this:

Type M-(arg)-C-y, so if you wanted to recall the 3rd argument of the last command (note that arg numbering starts at 0) you would hold CTRL-META, type 2, and type y.

Also, if you are on a Mac, you will have to make sure your Terminal is set to use Option as a meta key (Preferences > Settings > Keyboard).

Cheers,
-elliott-

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.