Mercurial > vim
changeset 35307:0c900119a418
runtime(doc): clarify 'shortmess' flag "S"
Commit: https://github.com/vim/vim/commit/e299591498a20c5c587364e4df57f947dfc02897
Author: Christian Brabandt <cb@256bit.org>
Date: Sat Jun 1 20:40:25 2024 +0200
runtime(doc): clarify 'shortmess' flag "S"
fixes: https://github.com/vim/vim/issues/14893
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 01 Jun 2024 20:45:04 +0200 |
parents | 2652eeba5e6b |
children | 22c03485f222 |
files | runtime/doc/options.txt |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -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 shor 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 shor `: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