summaryrefslogtreecommitdiffstats
path: root/runtime/doc/filetype.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-11 20:58:53 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-11 20:58:53 +0100
commit7f2e9d7c9cdfc5201a899b7b610edf64bf80c45f (patch)
tree85ad7f51ba627b2d739d58213093f4c4e51e08e5 /runtime/doc/filetype.txt
parent13e904199c2af6aac9b289a7f520d8e16f6e478a (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/filetype.txt')
-rw-r--r--runtime/doc/filetype.txt31
1 files changed, 21 insertions, 10 deletions
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index 4b47a39a7b..8434aae671 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -602,7 +602,7 @@ MANPAGER *manpager.vim*
The :Man command allows you to turn Vim into a manpager (that syntax highlights
manpages and follows linked manpages on hitting CTRL-]).
-Works on:
+Tested on:
- Linux
- Mac OS
@@ -617,25 +617,36 @@ Untested:
- BeOS
- OS/2
-For bash,zsh,ksh or dash by adding to the config file (.bashrc,.zshrc, ...)
+If man sets the $MAN_PN environment variable, like man-db, the most common
+implementation on Linux, then the "env MAN_PN=1 " part below should NOT be
+set, that is, the "env MAN_PN=1" should be omitted! Otherwise, the Vim
+manpager does not correctly recognize manpages whose title contains a capital
+letter. See the discussion on
- export MANPAGER="env MAN_PN=1 vim -M +MANPAGER -"
+ https://groups.google.com/forum/#!topic/vim_dev/pWZmt_7GkxI
-On OpenBSD:
+For bash,zsh,ksh or dash, add to the config file (.bashrc,.zshrc, ...)
- export MANPAGER="env MAN_PN=1 vim -M +MANPAGER"
+ export MANPAGER="env MAN_PN=1 vim -M +MANPAGER -"
-For (t)csh by adding to the config file
+For (t)csh, add to the config file
setenv MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
-For fish by adding to the config file
+For fish, add to the config file
set -x MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
-If man sets the $MAN_PN environment variable, like man-db, the most common
-implementation on Linux and Mac OS, then the "env MAN_PN=1 " part above is
-superfluous.
+On OpenBSD:
+
+ export MANPAGER="env MAN_PN=1 vim -M +MANPAGER"
+
+If you experience still issues on manpages whose titles do not contain capital
+letters, then try adding MANPATH=${MANPATH} after MAN_PN=1. If your manpages do
+not show up localized, then try adding, LANGUAGE=${LANG} after MAN_PN=1. See
+
+ https://github.com/vim/vim/issues/1002
+
PDF *ft-pdf-plugin*