Is it possible to enable
hlsearch when running a search (
/) but not on
: commands? For example, sometimes when doing a replace (on a very narrow range of text) it get distracting when I have a bunch of other lines highlighted, for example:
Here is a ten-second video of what I've done for this: https://gyazo.com/590a1927dcc2eb75d950053601dab9a7. If the answer is 'no', is there a better alternative than pressing
:noh (or whatever mapping to it) after every search that I'm 'done with' ?