On Tue 15-Aug-06 7:42pm -0600, Hari Krishna Dara wrote:

> I haven't been following the thread, but thought the below information
> is relevant.
>
> The commands that can't be followed by a '|' are listed under ":help
> :bar". There are some tricks to workaround, such as using :exec and
> <NL>, but they don't work for function.

Yes, that's a very handy reference.  Another way to get
there is ":h :|"

> A combination of :exec and <NL> can be used:
>
> exec "function! T()\<NL>call input('T')\<NL>endfunction"

Neat!  I see \<LF> also works here, but not \<CR> (which I
used frequently).

-- 
Best regards,
Bill

Reply via email to