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

Re: alias vl="vi !$"



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