jez / vim-superman

Read Unix man pages faster than a speeding bullet!
http://blog.jez.io/2014/12/20/vim-as-a-man-page-viewer/
MIT License
191 stars 20 forks source link

Support for custom man.vim #6

Closed ZeroKnight closed 9 years ago

ZeroKnight commented 9 years ago

Small tweak to allow the use of another man ftplugin. For example, I use bruno-/vim-man, which is actually the stock man.vim included with Vim with enhancements. The addition of the conditional simply skips sourcing $VIMRUNTIME/ftplugin/man.vim if the :Man command is already defined.

Coincidentally, an identical conditional exists in the stock man.vim when defining the :Man command.

jez commented 9 years ago

Thanks! I didn't know there were other man plugins. I'll have to give that one you listed above a try.