[vim/vim] Provide `shortmess` option to combine `S` messages and search count (Issue #12316)

9 views
Skip to first unread message

Dani Dickstein

unread,
Apr 29, 2023, 3:39:41 PM4/29/23
to vim/vim, Subscribed

Currently the shortmess option matrix for search messages looks like this:

Feature 'shortmess' setting
+s+S +s-S -s-S -s+S ???
"search hit TOP/BOTTOM, continuing at BOTTOM/TOP"
when search wraps
NNNNYYYY
display "W" when search wrapsNNYYNNYY
display search countNYNYNYNY

I find both the first and third feature helpful - I don't often notice the "W," esp. since it's on the other side of the screen and I'm not always watching the search count. I'd like to have a setting combination that lets me enable both of them. I don't care whether or not the W is displayed also.


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/12316@github.com>

Gary Johnson

unread,
Apr 29, 2023, 10:38:46 PM4/29/23
to reply+ACY5DGAWTRSLGUCG3F...@reply.github.com, vim...@googlegroups.com
On 2023-04-29, Dani Dickstein wrote:
> Currently the shortmess option matrix for search messages looks like this:
>
> Feature 'shortmess' setting
> +s+S +s-S -s-S -s+S ???
> "search hit TOP/BOTTOM, continuing at BOTTOM/TOP" N N N N Y Y Y Y
> when search wraps
> display "W" when search wraps N N Y Y N N Y Y
> display search count N Y N Y N Y N Y
>
> I find both the first and third feature helpful - I don't often notice the "W,"
> esp. since it's on the other side of the screen and I'm not always watching the
> search count. I'd like to have a setting combination that lets me enable both
> of them. I don't care whether or not the W is displayed also.

+1

Regards,
Gary

vim-dev ML

unread,
Apr 29, 2023, 10:39:04 PM4/29/23
to vim/vim, vim-dev ML, Your activity

On 2023-04-29, Dani Dickstein wrote:
> Currently the shortmess option matrix for search messages looks like this:
>
> Feature 'shortmess' setting
> +s+S +s-S -s-S -s+S ???
> "search hit TOP/BOTTOM, continuing at BOTTOM/TOP" N N N N Y Y Y Y
> when search wraps

> display "W" when search wraps N N Y Y N N Y Y
> display search count N Y N Y N Y N Y
>
> I find both the first and third feature helpful - I don't often notice the "W,"
> esp. since it's on the other side of the screen and I'm not always watching the
> search count. I'd like to have a setting combination that lets me enable both
> of them. I don't care whether or not the W is displayed also.

+1

Regards,
Gary


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/12316/1528924052@github.com>

Christian Brabandt

unread,
Apr 30, 2023, 1:54:37 PM4/30/23
to vim/vim, vim-dev ML, Comment

I think that is a big complicated by the way how Vim handles the message buffer.


Reply to this email directly, view it on GitHub.

You are receiving this because you commented.Message ID: <vim/vim/issues/12316/1529095988@github.com>

Reply all
Reply to author
Forward
0 new messages