From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4431D668.9040604@no-eff-eks.com> Date: Mon, 03 Apr 2006 19:14:00 -0700 From: Sami Samhuri MIME-Version: 1.0 To: zsh-users@sunsite.dk Subject: Re: two useful binds Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Seq: zsh-users 10130 Michael Wardle wrote: > My favorites: [...] > Tab > vim foo*.c > vim !$ In addition to !$ you can use Alt-. (or ESC .) to recall the last argument. That saves a couple keystrokes, and it works in bash. IIRC !$ doesn't expand in bash. Unfortunately it's hard for me to remember this one. I'm already used to !$ and my fingers just do it. Plus if you don't have alt and ESC is far away on your keyboard then it can be quicker to !$. -- Sam