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

Re: alias vl="vi !$"



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