Y
Hacker News
new
|
ask
|
show
|
jobs
by
mrud
5030 days ago
If you do
less <ESC>.
it will save you even more keystrokes.
1 comments
voltagex_
5029 days ago
Do you remap ESC to another key?
link
mrud
5029 days ago
No, but for me <ESC> acts like <META> and the actual keybinding is M-. or M-_.
The command you are looking for is yank-last-arg for bash and insert-last-word for zsh.
link
graywh
5029 days ago
You have that backwards--Meta actually means "prepend Escape" (or 8th bit on, but that's another discussion).
link