Dr. Chip,

On 4/19/07, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
Instead of modifying iskeyword to pick up a few more characters with
<cword>,
manpageview now uses <cWORD> and a substitute:

  let topic= substitute(a:1,'[^-a-zA-Z().0-9_].*$','','')

However, I think that the trailing '' should be 'g' instead... so I'll
fix that.

Thanks for your reply.

I think in my case, I would also like to substitute the "()" with null too. :-)

I changed the line you mentioned in manpageview.vim according to your
suggestion and removed the "()" out of the substitution. Now, it looks
like:

  "let topic= substitute(a:1,'[^-a-zA-Z().0-9_].*$','','')
  let topic= substitute(a:1,'[^-a-zA-Z.0-9_].*$','','g')

It works like a charm now.

Thank you for your efforts to share us plenty of wonderful plug-ins! :-)

--
Best,
Zhaojun (Joseph)

Reply via email to