Loading ...
Sorry, an error occurred while loading the content.

Re: GVIM vs VIM and K for Man page

Expand Messages
  • J. David Boyd
    Thank you very much! This works even better than a More prompt, as I can scroll up and down in it. Dave ... From: David Reviejo To:
    Message 1 of 7 , Dec 13, 2000
    • 0 Attachment
      Thank you very much! This works even better than a 'More' prompt, as I can
      scroll up and down in it.

      Dave

      ----- Original Message -----
      From: "David Reviejo" <dreviejo@...>
      To: <vim@...>
      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,
      I
      > > 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)
      > new
      > set ft=man
      > exe"r!man ".a:page." 2>/dev/null \|col -b\|uniq -u"
      > set nomod
      > normal 1G
      > endfun
      >
      > map K :call Man(expand("<cword>"))<CR>
      >
      >
      > HTH,
      > --
      > David
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.