I can't find info in help about whether it should or shouldn't turn on highlighting, but I find it strange that I have to press n
or N
after *
or #
to turn on search highlighting.
How do I enable this in vim if that's 'normal' behaviour.
I've got only these lines in my vimrc related to search highlighting.
if !has('nvim')
set smartcase
set hlsearch " highlight search terms
set incsearch " show search matches as you type
endif
hlsearch
. Try starting vim withvim -u NONE
, then put:set hlsearch
and see if the behavior is unchanged.