aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/helphelp.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-01 15:18:34 +0200
committerGitHub <noreply@github.com>2017-05-01 15:18:34 +0200
commita2c2fa68c1077be0a6f026f7cb1aeedeee47e39b (patch)
tree0d394eace71c9339cc5de16c419fcc39bb0adcad /runtime/doc/helphelp.txt
parent5d73a6e5dfbd1a7ce27888e7a7ac1c402da9dfc8 (diff)
parentfa1ee0ac73ab0fbbd246783f42e2df2c2d9280d6 (diff)
downloadrneovim-a2c2fa68c1077be0a6f026f7cb1aeedeee47e39b.tar.gz
rneovim-a2c2fa68c1077be0a6f026f7cb1aeedeee47e39b.tar.bz2
rneovim-a2c2fa68c1077be0a6f026f7cb1aeedeee47e39b.zip
Merge #6625 from justinmk/vim-runtime
Diffstat (limited to 'runtime/doc/helphelp.txt')
-rw-r--r--runtime/doc/helphelp.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/runtime/doc/helphelp.txt b/runtime/doc/helphelp.txt
index 6741efabd8..31a425bdee 100644
--- a/runtime/doc/helphelp.txt
+++ b/runtime/doc/helphelp.txt
@@ -27,10 +27,16 @@ Help on help files *helphelp*
*{subject}* *E149* *E661*
:h[elp] {subject} Like ":help", additionally jump to the tag {subject}.
- {subject} can include wildcards like "*", "?" and
+ For example: >
+ :help options
+
+< {subject} can include wildcards such as "*", "?" and
"[a-z]":
:help z? jump to help for any "z" command
:help z. jump to the help for "z."
+ But when a tag exists it is taken literally:
+ :help :? jump to help for ":?"
+
If there is no full match for the pattern, or there
are several matches, the "best" match will be used.
A sophisticated algorithm is used to decide which
@@ -67,18 +73,19 @@ Help on help files *helphelp*
example to find help for CTRL-V in Insert mode: >
:help i^V
<
- To use a regexp |pattern|, first do ":help" and then
+ It is also possible to first do ":help" and then
use ":tag {pattern}" in the help window. The
":tnext" command can then be used to jump to other
matches, "tselect" to list matches and choose one. >
- :help index| :tse z.
+ :help index
+ :tselect /.*mode
< When there is no argument you will see matches for
"help", to avoid listing all possible matches (that
would be very slow).
The number of matches displayed is limited to 300.
- This command can be followed by '|' and another
+ The `:help` command can be followed by '|' and another
command, but you don't need to escape the '|' inside a
help command. So these both work: >
:help |