aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorAnmol Sethi <nhooyr@users.noreply.github.com>2016-09-03 21:53:58 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-09-04 03:53:58 +0200
commit9bba8ba372298d7cfac543085df6546e18d2c256 (patch)
tree6e5237bc0eb1f444f1016873a212c2e078e8038d /runtime/doc
parent626065d385c4f7a06d2aa3dedf2fbb8fa68bfb48 (diff)
downloadrneovim-9bba8ba372298d7cfac543085df6546e18d2c256.tar.gz
rneovim-9bba8ba372298d7cfac543085df6546e18d2c256.tar.bz2
rneovim-9bba8ba372298d7cfac543085df6546e18d2c256.zip
[RFC] man.vim: remove <Plug> mappings (#5290)
- :Man with no arguments opens the manapage for the <cWORD> (man buffers) or <cword> (non-man buffers). - remove now irrelevent comment about -P flag
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/filetype.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index 21092b7081..df6b55cfe7 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -529,17 +529,12 @@ Man {sect} {name}({sect}) Used during completion to show the real section of
when the provided section is a prefix, e.g. 1m vs 1.
Man {path} Open the manpage specified by path. Prepend "./" if
page is in the current directory.
+Man Open the manpage for the <cWORD> (man buffers)
+ or <cword> (non-man buffers) under the cursor.
|:Man| accepts command modifiers. For example, to use a vertical split: >
:vertical Man printf
-Global Mappings:
-<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
cursor. Takes a count for the section.