Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: alias vl="vi !$"
- X-seq: zsh-users 7152
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: alias vl="vi !$"
- Date: Thu, 11 Mar 2004 20:13:36 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <65a050lf2u4bjch4u2uv68q56u5co0gknp@xxxxxxx> <20040311091003.GD844@xxxxxxxxxxxxxxxxxxxxx> <4im0509toihq2ef1vlnnid6t93j90f6gor@xxxxxxx> <15272.1079008435@xxxxxxx> <39n050dv0evle58451ugj2m1vfktsj1e1b@xxxxxxx> <20040311125558.GA24218@xxxxxxxxxxxxxxxxx> <svp0509rfu4iecet83auc9pel2i9n4mi9c@xxxxxxx> <1040311171735.ZM20352@xxxxxxxxxxxxxxxxxxxxxxx> <20040311190553.GA12542@xxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
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