Last parameter of last command in bash in vi-mode
Posted
by
Mo
on Super User
See other posts from Super User
or by Mo
Published on 2009-08-05T13:52:49Z
Indexed on
2011/06/27
8:24 UTC
Read the original article
Hit count: 370
bash
I have been convinced (over at stackoverflow) to use my beloved bash in vi mode. So far I got used to it quite well and I like it.
However I really do miss one feature: In emacs-mode, you can enter the last parameter of the previous command by pressing "ESC ." (That is, press escape followed by the .)
Is there a default binding to insert the last parameter in vi-mode? I wasn't able to find one and I really miss this command...
Thanks a lot
© Super User or respective owner