Today, I Learned...

by Justin Campbell

< All

Grab the last argument from the last command in bash with Esc+.:

$ cat file.txt
$ vim <Esc-.>
$ vim file.txt

from @aaronfeng, who also prefers to map Esc to left Alt in iTerm2.

October 23rd, 2012