Re: GVIM vs VIM and K for Man page
- Thank you very much! This works even better than a 'More' prompt, as I can
scroll up and down in it.
----- Original Message -----
From: "David Reviejo" <dreviejo@...>
Sent: Wednesday, December 13, 2000 9:18 AM
Subject: Re: GVIM vs VIM and K for Man page
> * J. David Boyd <dave@...> [001213 14:56]:
> > It works fine in Vim 6.0o, just not GVim 6.0o. Oh well, no big deal, as
> > everything else works fine, it seems. If I want to look at a man page,
> > guess I'll run xemacs.
> Try this (modified from another thread about how to view man pages with
> Vim in this list some time ago):
> fun! Man(page)
> set ft=man
> exe"r!man ".a:page." 2>/dev/null \|col -b\|uniq -u"
> set nomod
> normal 1G
> map K :call Man(expand("<cword>"))<CR>