On 2022-10-06, Arun wrote:
> You could try a hack by calling a function that checks for v:warningmsg and
> reset it, in a "statusline" invoked function. Something like:
>
> ---
> fu! CheckWrap()
> if v:warningmsg =~# "^search hit [BT]"
> "Ring bell
> exe "norm! \"
> endif
>
You could try a hack by calling a function that checks for v:warningmsg and
reset it, in a "statusline" invoked function. Something like:
---
fu! CheckWrap()
if v:warningmsg =~# "^search hit [BT]"
"Ring bell
exe "norm! \"
endif
let v:warningmsg=""
endf
"call CheckWrap u
> When performing a search, it's easy for me to miss the "search hit
> BOTTOM, continuing at TOP" message because my attention is focused on
> the matches. For this reason, I'd like a sound of my choice to be played
> when the search wraps (using +sound). Is this possible?
No, don't see a way.
When performing a search, it's easy for me to miss the "search hit
BOTTOM, continuing at TOP" message because my attention is focused on
the matches. For this reason, I'd like a sound of my choice to be played
when the search wraps (using +sound). Is this possible?
Thanks,
Life.
--
--
You recei