Switched ViM to Gruvbox
This commit is contained in:
parent
d7af60e18c
commit
5614c41c63
|
@ -10,8 +10,8 @@ vim_configurable.customize {
|
|||
set tabstop=4 " Default tabstop
|
||||
set shiftwidth=4 " Default indent spacing
|
||||
set expandtab " Expand [TABS] to spaces
|
||||
syntax enable " Enable syntax highlighting
|
||||
colorscheme solarized " Set the default colour scheme
|
||||
syntax on " Enable syntax highlighting
|
||||
colorscheme gruvbox " Set the default colour scheme
|
||||
set t_Co=256 " Use 265 colors in vim
|
||||
set spell spelllang=en_au " Defaul spell checking language
|
||||
hi clear SpellBad " Clear any unwanted default settings
|
||||
|
@ -20,7 +20,7 @@ vim_configurable.customize {
|
|||
match ErrorMsg '\s\+$' "
|
||||
|
||||
let g:airline_powerline_fonts = 1 " Use powerline fonts
|
||||
let g:airline_theme='solarized' " Set the airline theme
|
||||
let g:airline_theme='gruvbox' " Set the airline theme
|
||||
|
||||
"call togglebg#map("<F10>") " Toggle background colour between dark|light
|
||||
|
||||
|
@ -37,12 +37,16 @@ vim_configurable.customize {
|
|||
autocmd FilterWritePre * :call TrimWhiteSpace()
|
||||
autocmd BufWritePre * :call TrimWhiteSpace()
|
||||
|
||||
" Solarized light during the day, solarized dark during the night
|
||||
" Light during the day, dark during the night
|
||||
let hour = strftime("%H")
|
||||
if 7 <= hour && hour < 17
|
||||
set background=light
|
||||
hi Normal ctermbg=none " Set a transparent background
|
||||
let g:airline_gruvbox_bg='light' " Set the airline background
|
||||
else
|
||||
set background=dark
|
||||
hi Normal ctermbg=none " Set a transparent background
|
||||
let g:airline_gruvbox_bg='dark' " Set the airline background
|
||||
endif
|
||||
|
||||
" Transparent editing of gpg encrypted files.
|
||||
|
@ -188,6 +192,7 @@ vim_configurable.customize {
|
|||
airline # Lean & mean status/tabline for vim that's light as air
|
||||
ctrlp # Full path fuzzy file, buffer, mru, tag, ... finder for Vim
|
||||
ghc-mod-vim # Happy Haskell programming on Vim, powered by ghc-mod
|
||||
gruvbox
|
||||
neco-ghc # Completion plugin for Haskell, using ghc-mod
|
||||
neocomplete-vim # Keyword completion system
|
||||
nerdcommenter # Comment functions so powerful—no comment necessary
|
||||
|
@ -199,7 +204,9 @@ vim_configurable.customize {
|
|||
syntastic # Syntax checking hacks
|
||||
tabular # Script for text filtering and alignment
|
||||
vim-airline-themes # Collection of themes for airline
|
||||
vim-colorschemes # Collection of ViM colour schemes
|
||||
vim-nix # Support for writing Nix expressions in vim
|
||||
vim-polyglot
|
||||
vimproc # Interactive command execution required by ghc-mod-vim
|
||||
];
|
||||
# manually loadable by calling `:packadd $plugin-name`
|
||||
|
|
Loading…
Reference in a new issue