Quote:
Originally Posted by jmccue
Maybe as you seem to mention, it may be an attempt by vim to show formatted manuals, similar to what one can do in elvis using ':display man' and ':display normal'
|
Yes, that is what this plugin does. See:
Code:
vim "+help ft-man"
vim "+help manpage"
Unfortunately, it is in conflict with the 'man' file extension. Not only
will that file extension cause the 'man' plugin to load, it also sets
the filetype and syntax highlighting to 'man'. When editing man-page
source files you'll likely want the filetype set to nroff.
You can override this behavior on a per call basis with:
STOP THE KEY MAPPING
Code:
vim --cmd "let no_man_maps=1" somefile.man
SET THE FILE TYPE
Code:
vim "+set ft=nroff" somefile.man
OR BOTH
Code:
vim --cmd "let no_man_maps=1" "+set ft=nroff" somefile.man
To make the key mapping sticky add this to your ~/.vimrc file:
For other ways see:
Code:
vim "+help ftplugin-overrule"
vim "+help new-filetype"