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

Re: Completion of CLI parameters



On Wed, 28 Apr 2004 18:39:05 +0100,  wrote:

>zzapper wrote:
>> Hi,
>> 
>> > cmd1 p1 p2 p3
>> > cmd2
>> ....
>> ...
>> 
>> > cmdx p4 p5
>> > cmdy <I would like to complete to get p1 p2 p3 without knowing history numb
>> er?>
>
>cmdy !?cmd1?:*<TAB>
>
That's cool, bit of a type-fest though!!

zzapper (vim, cygwin, wiki & 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