aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/various.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2021-08-21 18:26:33 -0700
committerGitHub <noreply@github.com>2021-08-21 18:26:33 -0700
commit8331cd13c45fb75bff0cec328ccba79b3ae61fa5 (patch)
tree84a5a9adbdce62c6c82711e6a603b486f2e69be0 /runtime/doc/various.txt
parenta90513c24bd8f789fba980509a4bdd1d7fc890ec (diff)
downloadrneovim-8331cd13c45fb75bff0cec328ccba79b3ae61fa5.tar.gz
rneovim-8331cd13c45fb75bff0cec328ccba79b3ae61fa5.tar.bz2
rneovim-8331cd13c45fb75bff0cec328ccba79b3ae61fa5.zip
docs #15447
- update ":help 'hidden'" #15410 - update ":help K" #15398 - try to capture some of the debug steps from #12036 (bpftrace, USDT probes)
Diffstat (limited to 'runtime/doc/various.txt')
-rw-r--r--runtime/doc/various.txt16
1 files changed, 5 insertions, 11 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 162909ce45..62e1e130ee 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -460,20 +460,14 @@ defined while executing a function, user command or autocommand, the script in
which it was defined is reported.
*K*
-[count]K Run a program to lookup the keyword under the
- cursor. The name of the program is given with the
- 'keywordprg' (kp) option (default is "man"). The
- keyword is formed of letters, numbers and the
- characters in 'iskeyword'. The keyword under or
- right of the cursor is used. The same can be done
- with the command >
- :!{program} {keyword}
+[count]K Runs the program given by 'keywordprg' to lookup the
+ |word| (defined by 'iskeyword') under or right of the
+ cursor. Default is "man". Works like this: >
+ :tabnew | terminal {program} {keyword}
< Special cases:
- If 'keywordprg' begins with ":" it is invoked as
a Vim command with [count].
- - If 'keywordprg' is empty, the ":help" command is
- used. It's a good idea to include more characters
- in 'iskeyword' then, to be able to find more help.
+ - If 'keywordprg' is empty, |:help| is used.
- When 'keywordprg' is equal to "man", a [count]
before "K" is inserted after the "man" command and
before the keyword. For example, using "2K" while