summaryrefslogtreecommitdiffstats
path: root/runtime/doc/helphelp.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-17 22:47:16 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-17 22:47:16 +0100
commit3df0173fa6d0418e89ef4e9c1d04a97c92eec27c (patch)
treedd89eb96a512862d2e4ac45310b1a687b05f9e43 /runtime/doc/helphelp.txt
parent8c50d50b6e19b755d7bad7b2724d14ead29364a7 (diff)
Updated runtime files.
Diffstat (limited to 'runtime/doc/helphelp.txt')
-rw-r--r--runtime/doc/helphelp.txt17
1 files changed, 12 insertions, 5 deletions
diff --git a/runtime/doc/helphelp.txt b/runtime/doc/helphelp.txt
index b51fe78eb3..32051d4963 100644
--- a/runtime/doc/helphelp.txt
+++ b/runtime/doc/helphelp.txt
@@ -1,4 +1,4 @@
-*helphelp.txt* For Vim version 8.0. Last change: 2016 Apr 01
+*helphelp.txt* For Vim version 8.0. Last change: 2017 Feb 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -28,10 +28,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
@@ -68,18 +74,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 |