Wednesday, September 08, 2004

VIM color pain, change search highlight color

Finally found where to change the search highlight color in VIM. This was a great resource:


http://www.vim.org/tips/tip.php?tip_id=14


Simply added the following lines in my .vimrc:


hi Search ctermbg=LightBlue ctermfg=White


map :let &hlsearch=!&hlsearch


More info available in :help hlsearch

No comments: