Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: alias vl="vi !$"
- X-seq: zsh-users 7134
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: alias vl="vi !$"
- Date: Thu, 11 Mar 2004 12:26:52 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <65a050lf2u4bjch4u2uv68q56u5co0gknp@xxxxxxx> <20040311091003.GD844@xxxxxxxxxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
On Thu, 11 Mar 2004 17:10:03 +0800, James Devenish
>on Thu, Mar 11, 2004 at 08:59:16AM +0000, zzapper wrote:
>> alias vl="vi !$" where !$ is the command line "last parameter"
>>
>> Doesn't work though, is there any way to do this kind of thing?
>
>Make your own 'function' named `vl`?
>
>
Do I have access to the positional parameters of the previous command
line /history from inside a function?
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