The :nohlsearch command is named somewhat unfortunatelly. Years ago, as a
newbie, I came to believe that it is a convenience shortcut for :set
nohlsearch. Instead of using :nohlsearch, I created a mapping using
'invhlsearch'. Over time, this misconception of mine introduced unpleasant side
effects, most notably when sourcing files from autocommands.
I believe this is mainly a documentation issue. The attached patches try to
improve the 'pattern.txt' and 'options.txt' files.
The discussion on vim_dev is here: http://tinyurl.com/cfdz6rl
Original issue reported on code.google.com by peter.slizik on 14 Dec 2011 at 12:43
Original issue reported on code.google.com by
peter.slizik
on 14 Dec 2011 at 12:43Attachments: