aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/helphelp.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-01 13:23:39 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-05-01 13:32:51 +0200
commitdeccd843edc9ecda04fae09bb550a90b1ba20632 (patch)
tree448f1d653d08bff988aec3778d746c450a7cf7cb /runtime/doc/helphelp.txt
parentac107f7fddc59ef286e3ef3979afe0ea5e94633a (diff)
downloadrneovim-deccd843edc9ecda04fae09bb550a90b1ba20632.tar.gz
rneovim-deccd843edc9ecda04fae09bb550a90b1ba20632.tar.bz2
rneovim-deccd843edc9ecda04fae09bb550a90b1ba20632.zip
vim-patch:3df0173fa6d0
Updated runtime files. https://github.com/vim/vim/commit/3df0173fa6d0418e89ef4e9c1d04a97c92eec27c
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 |