patch 9.1.1535: the maximum search count uses hard-coded value 99
Problem: The maximum search count uses a hard-coded value of 99
(Andres Monge, Joschua Kesper)
Solution: Make it configurable using the 'maxsearchcount' option.
related: #8855
fixes: #17527
closes: #17695
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 9.1. Last change: 2025 Jul 08
|
||||
*options.txt* For Vim version 9.1. Last change: 2025 Jul 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -5898,6 +5898,15 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
used.
|
||||
Also see 'maxmem'.
|
||||
|
||||
*'maxsearchcount'* *'msc'*
|
||||
'maxsearchcount' 'msc' number (default 99)
|
||||
global
|
||||
Maximum number of matches shown for the search count status |shm-S|
|
||||
When the number of matches exceeds this value, Vim shows ">" instead
|
||||
of the exact count to keep searching fast.
|
||||
Note: larger values may impact performance.
|
||||
The value must be between 1 and 9999.
|
||||
|
||||
*'menuitems'* *'mis'*
|
||||
'menuitems' 'mis' number (default 25)
|
||||
global
|
||||
@ -7669,7 +7678,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
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.
|
||||
search count statistics. The maximum limit can be set with
|
||||
the 'maxsearchcount' option.
|
||||
|
||||
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
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*pattern.txt* For Vim version 9.1. Last change: 2025 Jul 06
|
||||
*pattern.txt* For Vim version 9.1. Last change: 2025 Jul 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -189,6 +189,7 @@ The following options affect how a search is performed in Vim:
|
||||
'ignorecase' ignore case when searching
|
||||
'imsearch' use |IME| when entering the search pattern
|
||||
'incsearch' show matches incrementally as the pattern is typed
|
||||
'maxsearchcount' maximum number for the search count |shm-S|
|
||||
'shortmess' suppress messages |shm-s|; show search count |shm-S|
|
||||
'smartcase' override 'ignorecase' if pattern contains uppercase
|
||||
'wrapscan' continue searching from the start of the file
|
||||
|
||||
@ -506,6 +506,7 @@ $quote eval.txt /*$quote*
|
||||
'maxmem' options.txt /*'maxmem'*
|
||||
'maxmempattern' options.txt /*'maxmempattern'*
|
||||
'maxmemtot' options.txt /*'maxmemtot'*
|
||||
'maxsearchcount' options.txt /*'maxsearchcount'*
|
||||
'mco' options.txt /*'mco'*
|
||||
'mef' options.txt /*'mef'*
|
||||
'menc' options.txt /*'menc'*
|
||||
@ -545,6 +546,7 @@ $quote eval.txt /*$quote*
|
||||
'mousetime' options.txt /*'mousetime'*
|
||||
'mp' options.txt /*'mp'*
|
||||
'mps' options.txt /*'mps'*
|
||||
'msc' options.txt /*'msc'*
|
||||
'msm' options.txt /*'msm'*
|
||||
'mzq' options.txt /*'mzq'*
|
||||
'mzquantum' options.txt /*'mzquantum'*
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*version9.txt* For Vim version 9.1. Last change: 2025 Jul 08
|
||||
*version9.txt* For Vim version 9.1. Last change: 2025 Jul 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -41598,41 +41598,41 @@ Completion~
|
||||
|
||||
Platform specific~
|
||||
-----------------
|
||||
Support for Wayland UI and support for the Wayland clipboard has been added.
|
||||
- Support for Wayland UI and support for the Wayland clipboard has been added.
|
||||
|
||||
Support for the XDG Desktop Specification |xdg-base-dir| has been added and
|
||||
the environment variable |$MYVIMDIR| is set to the users personal runtime
|
||||
directory ($HOME/.vim or $HOME/.config/vim on Linux, $HOME/vimfiles on
|
||||
Windows).
|
||||
- Support for the XDG Desktop Specification |xdg-base-dir| has been added and
|
||||
the environment variable |$MYVIMDIR| is set to the users personal runtime
|
||||
directory ($HOME/.vim or $HOME/.config/vim on Linux, $HOME/vimfiles on
|
||||
Windows).
|
||||
|
||||
Python3 support in OpenVMS is now available.
|
||||
- Python3 support in OpenVMS is now available.
|
||||
|
||||
The Win32 GUI comes with better toolbar icons.
|
||||
- The Win32 GUI comes with better toolbar icons.
|
||||
*new-other-9.2*
|
||||
Other new features ~
|
||||
------------------
|
||||
Support for Super key mappings in GTK using <D-Key>.
|
||||
- Support for Super key mappings in GTK using <D-Key>.
|
||||
|
||||
The new packages |package-comment|, |package-nohlsearch|, |package-hlyank| and
|
||||
|help-TOC| are included.
|
||||
- The new packages |package-comment|, |package-nohlsearch|, |package-hlyank| and
|
||||
|help-TOC| are included.
|
||||
|
||||
An interactive tutor plugin has been included |vim-tutor-mode| and can be
|
||||
started via |:Tutor|.
|
||||
- An interactive tutor plugin has been included |vim-tutor-mode| and can be
|
||||
started via |:Tutor|.
|
||||
|
||||
Support for translating messages in Vim script plugins using the |gettext()|
|
||||
and |bindtextdomain()| functions was included.
|
||||
- Support for translating messages in Vim script plugins using the |gettext()|
|
||||
and |bindtextdomain()| functions was included.
|
||||
|
||||
Support highlighting the matched text and the completion kind for insert-mode
|
||||
completion and command-line completion in |ins-completion-menu|, see
|
||||
|complete-items|.
|
||||
- Support highlighting the matched text and the completion kind for
|
||||
insert-mode completion and command-line completion in |ins-completion-menu|,
|
||||
see |complete-items|.
|
||||
|
||||
A new vertical |tabpanel| window has been included which is a vertical
|
||||
'tabline'.
|
||||
- A new vertical |tabpanel| window has been included which is a vertical
|
||||
'tabline'.
|
||||
|
||||
The |dist#vim9#Launch()| and |dist#vim9#Open()| functions have been added to
|
||||
the |vim-script-library| and decoupled from |netrw|.
|
||||
- The |dist#vim9#Launch()| and |dist#vim9#Open()| functions have been added to
|
||||
the |vim-script-library| and decoupled from |netrw|.
|
||||
|
||||
The new digraph "APPROACHES THE LIMIT" using ".=" has been added
|
||||
- The new digraph "APPROACHES THE LIMIT" using ".=" has been added.
|
||||
|
||||
*changed-9.2*
|
||||
Changed~
|
||||
@ -41798,7 +41798,8 @@ Options: ~
|
||||
'findfunc' Vim function to obtain the results for a |:find|
|
||||
command
|
||||
'isexpand' defines triggers for completion
|
||||
'lhistory' Size of the location list stack |quickfix-stack|.
|
||||
'lhistory' Size of the location list stack |quickfix-stack|
|
||||
'maxsearchcount' Set the maximum number for search-stat |shm-S|
|
||||
'messagesopt' configure |:messages| and |hit-enter| prompt
|
||||
'pummaxwidth' maximum width for the completion popup menu
|
||||
'showtabpanel' When to show the |tabpanel|
|
||||
@ -41810,6 +41811,10 @@ Options: ~
|
||||
't_CF' Support for alternate font highlighting terminal code
|
||||
'winfixbuf' Keep buffer focused in a window
|
||||
|
||||
Vim Arguments: ~
|
||||
|-Y| Do not connect to the Wayland compositor.
|
||||
|
||||
|
||||
==============================================================================
|
||||
INCOMPATIBLE CHANGES *incompatible-9.2*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user