aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-06-07 21:28:53 +0200
committerGitHub <noreply@github.com>2019-06-07 21:28:53 +0200
commitf6f9e4a231708ca45e6dc08def78d9ff12339976 (patch)
tree87f7c240bb7e888241dfe4a46117c582da51e2be /runtime/doc
parentd583b7c2fac99447eb6dfe47b458747f59275aa5 (diff)
parent2a4e8a427e5e84f8e8a9477c0bfb8c1d376b3f1e (diff)
downloadrneovim-f6f9e4a231708ca45e6dc08def78d9ff12339976.tar.gz
rneovim-f6f9e4a231708ca45e6dc08def78d9ff12339976.tar.bz2
rneovim-f6f9e4a231708ca45e6dc08def78d9ff12339976.zip
Merge #10114 from erw7/vim-8.1.1270
vim-patch:8.1.{0629,1270,1271,1283,1288,1289,1350,1375,1390,1475}
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/options.txt4
-rw-r--r--runtime/doc/pattern.txt11
2 files changed, 14 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index cce9f681f9..34779541d8 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -5254,7 +5254,7 @@ A jump table for the options with a short description can be found at |Q_op|.
function to get the effective shiftwidth value.
*'shortmess'* *'shm'*
-'shortmess' 'shm' string (Vim default "filnxtToOF", Vi default: "")
+'shortmess' 'shm' string (Vim default "filnxtToOFS", Vi default: "S")
global
This option helps to avoid all the |hit-enter| prompts caused by file
messages, for example with CTRL-G, and to avoid some other messages.
@@ -5294,6 +5294,8 @@ A jump table for the options with a short description can be found at |Q_op|.
q use "recording" instead of "recording @a"
F don't give the file info when editing a file, like `:silent`
was used for the command
+ S do not show search count message when searching, e.g.
+ "[1/5]"
This gives you the opportunity to avoid that a change between buffers
requires you to hit <Enter>, but still gives as useful a message as
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
index 88b7f65209..022dc5607e 100644
--- a/runtime/doc/pattern.txt
+++ b/runtime/doc/pattern.txt
@@ -141,6 +141,17 @@ use <Esc> to abandon the search.
All matches for the last used search pattern will be highlighted if you set
the 'hlsearch' option. This can be suspended with the |:nohlsearch| command.
+When 'shortmess' does not include the "S" flag, Vim will automatically show an
+index, on which the cursor is. This can look like this: >
+
+ [1/5] Cursor is on first of 5 matches.
+ [1/>99] Cursor is on first of more than 99 matches.
+ [>99/>99] Cursor is after 99 match of more than 99 matches.
+ [?/??] Unknown how many matches exists, generating the
+ statistics was aborted because of search timeout.
+
+Note: the count does not take offset into account.
+
When no match is found you get the error: *E486* Pattern not found
Note that for the |:global| command this behaves like a normal message, for Vi
compatibility. For the |:s| command the "e" flag can be used to avoid the