How do I view Unix man pages from inside Vim?

You can view Unix man pages, inside Vim, using the man.vim plugin supplied as part of the standard Vim distribution. To use this plugin, add the following line to your startup vimrc file:

    runtime ftplugin/man.vim

You can also press the K key to run the program specified by the ‘keywordprg’ option with the keyword under the cursor. By default, ‘keywordprg’ is set to run man on the keyword under the cursor.

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind