Mapping for :noh
I think it's just my personal .vimrc settings but whenever I search for something in Vim, every occurrence o that word gets highlighted.
This is useful when I'm looking for something but after I've found it, I don't want the highlighting anymore. I then use the command ":noh" for no highlighting.
Too much of a hassle to type those four characters everytime so I first checked out what ctrl+n does (which seems to be just going to the next line) and then modified my .vimrc by adding the line:
map <C-n> :noh<CR>
This will run the command whereas leaving out the <CR> part would just type :noh for you and then you'd have to manually press enter.

















