colorscheme-statusline.vim 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. """"""""
  2. "" Colour Scheme
  3. """"""""""""""""""""""""""""""""""""""""""""""""""""""
  4. " Fix wrong background colour in tmux.
  5. " http://sunaku.github.io/vim-256color-bce.html
  6. set t_ut=
  7. " Available colour schemes:
  8. "colorscheme flattened_dark " Like solarized but easier.
  9. "colorscheme neonwave
  10. autocmd VimEnter * call NormalPower()
  11. function! NormalPower()
  12. set background=dark
  13. colorscheme flattened_dark
  14. AirlineTheme powerlineish
  15. " Fix sign column colour (for vim-signature, syntastic).
  16. highlight SignColumn ctermbg=235
  17. echo "System at normal power..."
  18. endfunction
  19. function! UltraPower()
  20. set background=light
  21. colorscheme neonwave
  22. AirlineTheme surarken
  23. echo "Ultra Power Level Activated!"
  24. endfunction
  25. function! MuteSpellCheckHighlights()
  26. hi clear SpellBad
  27. hi SpellBad cterm=underline
  28. " Highlights must be cleared first, or linking will fail.
  29. hi clear SpellCap
  30. hi link SpellCap SpellBad
  31. hi clear SpellLocal
  32. hi link SpellLocal SpellBad
  33. hi clear SpellRare
  34. hi link SpellRare SpellBad
  35. endfunction
  36. """"""""
  37. "" Status Line
  38. """"""""""""""""""""""""""""""""""""""""""""""""""""""
  39. set laststatus=2
  40. set noshowmode " don't show e.g. --INSERT-- with themed status lines.
  41. let g:airline_powerline_fonts = 1
  42. let g:airline_left_sep=''
  43. let g:airline_right_sep=''