colorscheme.vim 726 B

123456789101112131415161718192021222324252627
  1. set background=dark
  2. "let g:solarized_termcolors=256
  3. "colorscheme solarized
  4. "colorscheme neonwave
  5. colorscheme flattened_dark
  6. " Fix wrong background colour in tmux.
  7. " http://sunaku.github.io/vim-256color-bce.html
  8. set t_ut=
  9. " Fix sign column colour (e.g. for vim-signature, syntastic).
  10. highlight SignColumn ctermbg=235
  11. " Mute coloured spell check errors.
  12. " Note: Highlights must be cleared first, or linking will fail.
  13. function! MuteSpellCheckHighlights()
  14. hi clear SpellBad
  15. hi SpellBad cterm=underline
  16. hi clear SpellCap
  17. hi link SpellCap SpellBad
  18. hi clear SpellLocal
  19. hi link SpellLocal SpellBad
  20. hi clear SpellRare
  21. hi link SpellRare SpellBad
  22. endfunction
  23. "nmap <silent> <F5> :call MuteSpellCheckHighlights()<CR>