]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): clarify 'shortmess' flag "S"
authorChristian Brabandt <cb@256bit.org>
Sat, 1 Jun 2024 18:40:25 +0000 (20:40 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 1 Jun 2024 18:43:47 +0000 (20:43 +0200)
fixes: #14893

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt

index a6f156ada7f1cb23159f6aa19d015fe9d7bef03d..cae3e5433aa73a886fd64dc60f701ac5d1b4cfbb 100644 (file)
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 9.1.  Last change: 2024 May 19
+*options.txt*  For Vim version 9.1.  Last change: 2024 Jun 01
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -7238,8 +7238,8 @@ A jump table for the options with a short description can be found at |Q_op|.
                message;  also for quickfix message (e.g., ":cn")
          s     don't give "search hit BOTTOM, continuing at TOP" or    *shm-s*
                "search hit TOP, continuing at BOTTOM" messages; when using
-               the search count do not show "W" after the count message (see
-               S below)
+               the search count do not show "W" before the count message
+               (see |shm-S| below)
          t     truncate file message at the start if it is too long    *shm-t*
                to fit on the command-line, "<" will appear in the left most
                column; ignored in Ex mode
@@ -7261,7 +7261,11 @@ A jump table for the options with a short description can be found at |Q_op|.
                `:silent` was used for the command; note that this also
                affects messages from autocommands and 'autoread' reloading
          S     do not show search count message when searching, e.g.   *shm-S*
-               "[1/5]"
+               "[1/5]". When the "S" flag is not present (e.g. search count
+               is shown), the "search hit BOTTOM, continuing at TOP" and
+               "search hit TOP, continuing at BOTTOM" messages are only
+               indicated by a "W" (Mnemonic: Wrapped) letter before the
+               search count statistics.
 
        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