For questions about viewing manpages in vim.

Introduction

Man pages (usually viewed with man(1)) can be viewed in vim.

You need to do :runtime ftplugin/man.vim to make this work (see :help :Man).

Then you can use :Man to view manpages. You can also set your $MANPAGER environment variable to vim -M +MANPAGER - (see :help manpager.vim).

Use this tag if...

  • you have questions about using the manpager functionalities of vim

Do not use this tag if...

  • you have questions about man(1), other manpagers (such as less(1)), or the meaning of a specific manpage
  • you have questions about the vim(1) manpage
history | excerpt history