Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: alias vl="vi !$"
- X-seq: zsh-users 7137
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: alias vl="vi !$"
- Date: Thu, 11 Mar 2004 12:40:23 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <4im0509toihq2ef1vlnnid6t93j90f6gor@xxxxxxx> <15272.1079008435@xxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
On Thu, 11 Mar 2004 12:33:55 +0000, Peter Stephenson wrote:
On the command prompt line I'm often typing say
>ll fred.txt
>vi !$
Now I'd like to have an alias/function called say vl (vi last)
>vl
Which would save me typing vi !$ (my poor little fingers!), for that
to work vl would need to access the line history
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