On Sat, 05 Aug 2006 09:05:56 -0500
Tim Chase <[EMAIL PROTECTED]> wrote:

> The zero is what is the return value of the function which is 
> used as the replacement text.  By default, if you don't specify a 
> return-value for a function, it returns "0".
> 
> I was expecting your function's return value/purpose was what you 
> wanted the replaced text to be.  Perhaps if you detail some of 
> what your function is doing, it would help diagnose matters.

Yes of course I don't understand why I didn't realise it.

I need that the function takes over the control so I'll map it like:

vmap <f4> y:call Template('<c-r>=@@<CR>')<CR>

as this works the way I like it :-)

Thanks for the help!

Preben

Reply via email to