aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-09-23 00:28:32 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-09-23 00:28:32 -0400
commitba6c7a6f5b45ce5d79e6dc4838a967b2299b524c (patch)
tree9745e262a75e94ca8e363d0f14d5369ff0d5cbc3 /runtime/doc/options.txt
parent1ba081a6735e74446d5e9e05d0fb0bf9cca31f63 (diff)
parent2169721b94f1f8adf490a39380ed3f16d824d359 (diff)
downloadrneovim-ba6c7a6f5b45ce5d79e6dc4838a967b2299b524c.tar.gz
rneovim-ba6c7a6f5b45ce5d79e6dc4838a967b2299b524c.tar.bz2
rneovim-ba6c7a6f5b45ce5d79e6dc4838a967b2299b524c.zip
Merge pull request #1878 from justinmk/man.vim
use :Man instead of `man` for K
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 410e116064..fc4d685cb2 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3877,18 +3877,20 @@ A jump table for the options with a short description can be found at |Q_op|.
The 'keymodel' option is set by the |:behave| command.
*'keywordprg'* *'kp'*
-'keywordprg' 'kp' string (default "man" or "man -s", DOS: ":help")
+'keywordprg' 'kp' string (default ":Man", Windows: ":help")
global or local to buffer |global-local|
Program to use for the |K| command. Environment variables are
expanded |:set_env|. ":help" may be used to access the Vim internal
help. (Note that previously setting the global option to the empty
value did this, which is now deprecated.)
- When "man" is used, Vim will automatically translate a count for the
- "K" command to a section number. Also for "man -s", in which case the
- "-s" is removed when there is no count.
+ When the first character is ":", the command is invoked as a Vim
+ command prefixed with [count]. {Nvim}
+ When "man" or "man -s" is used, Vim will automatically translate
+ a [count] for the "K" command to a section number.
See |option-backslash| about including spaces and backslashes.
Example: >
:set keywordprg=man\ -s
+ :set keywordprg=:Man
< This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons.