1

This question already has an answer here:

My current VIMRC contains the below. I am using the correct colorscheme but it is not accepting my changes for the terminal search highlighting. If I input the :hi command by hand it works. Do I need to use some kind of precursor to hi? set does not work.

" Syntax highlight
if &t_Co >= 256 || has("gui_running")
    colorscheme vividchalk
    hi Search cterm=NONE ctermfg=grey ctermbg=blue
endif

marked as duplicate by Martin Tournoij Sep 16 '15 at 14:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.