Fandom

Vim Tips Wiki

Override Colors in a Color Scheme

1,624pages on
this wiki
Add New Page
Talk0 Share

If you like a color scheme but want to change some colors in it without editing the file, here's how. I use this to change the background color and MatchParen highlight that Apprentice uses. Add something like the following to your ~/.vimrc :

 augroup vimrc
 
   autocmd!
 
   autocmd ColorScheme * highlight Normal ctermbg=NONE guifg=lightgrey guibg=black | highlight MatchParen cterm=bold ctermfg=red ctermbg=NONE gui=bold guifg=red guibg=NONE
 
 augroup END

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.