aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-09-03 14:01:04 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-09-03 14:01:04 -0400
commit2f6d3e599b3659dff3d62ecfc31066e93523e169 (patch)
tree84beea66a6e98ce48cd4921e42b4770e4f16bc03 /runtime/doc
parent94dfb6cea24180592af5c495dd9e8abf61d5735f (diff)
parentc9e39f8227e320e156c92ee5192223304a9f1761 (diff)
downloadrneovim-2f6d3e599b3659dff3d62ecfc31066e93523e169.tar.gz
rneovim-2f6d3e599b3659dff3d62ecfc31066e93523e169.tar.bz2
rneovim-2f6d3e599b3659dff3d62ecfc31066e93523e169.zip
Merge #5249 'man.vim'
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/filetype.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index bbe2bbe50f..21092b7081 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -534,8 +534,11 @@ Man {path} Open the manpage specified by path. Prepend "./" if
:vertical Man printf
Global Mappings:
-<Plug>(Man) Jump to the manpage for the <cWORD> under the
- cursor. Takes a count for the section.
+<Plug>(man) Jump to the manpage for the <cWORD> (man buffers)
+ or <cword> (non-man buffers) under the cursor.
+ Takes a count for the section.
+<Plug>(man_vsplit) Same as <Plug>(man) but open in a vertical split.
+<Plug>(man_tab) Same as <Plug>(man) but open in a new tab.
Local mappings:
K or CTRL-] Jump to the manpage for the <cWORD> under the
@@ -547,6 +550,9 @@ q :quit if invoked as $MANPAGER, otherwise :close.
Variables:
*g:no_man_maps* Do not create mappings in manpage buffers.
*g:ft_man_folding_enable* Fold manpages with foldmethod=indent foldnestmax=1.
+*b:man_default_sects* Comma-separated, ordered list of preferred sections.
+ For example in C one usually wants section 3 or 2: >
+ :let b:man_default_sections = '3,2'
PDF *ft-pdf-plugin*