With incremental search (
incsearch), we jump to matches and they are highlighted as they are found. But if we hit a character that makes the search not match anything, we’re thrown back to where we were before the search.
I’d like to turn off that behaviour, i.e. let the cursor jump to the closest match, but if at one point nothing else matches, stay where it is. It’s fine if either the whole selection stops being highlighted or if it only highlights the found section, what I care about is staying on the position of the closest match.