Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: alias vl="vi !$"



On Thu, 11 Mar 2004 11:05:53 -0800,  wrote:

>On Thu, Mar 11, 2004 at 05:17:35PM +0000, Bart Schaefer wrote:
>> Inside a function, however, $_ has already been changed to be the last
>> word of the _currently executing_ command, the same as as $argv[-1].
>
>But it's not changed in an alias, so the simplest approach would appear
>to be:
>
>    alias vl='vi $_'
>
>That works for me.
>
>..wayne..

That is so wunderbar!!!

But in fact I like all the answers to this thread!!!


zzapper (vim & cygwin & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips



Messages sorted by: Reverse Date, Date, Thread, Author