diff --git a/roles/vim.nix b/roles/vim.nix index 3d1e4c2..dd88ec2 100644 --- a/roles/vim.nix +++ b/roles/vim.nix @@ -11,7 +11,7 @@ vim_configurable.customize { set shiftwidth=4 " Default indent spacing set expandtab " Expand [TABS] to spaces syntax on " Enable syntax highlighting - colorscheme nord " Set the default colour scheme + colorscheme solarized " 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='nord' " Set the airline theme + let g:airline_theme='solarized' " Set the airline theme "call togglebg#map("") " Toggle background colour between dark|light @@ -40,13 +40,13 @@ vim_configurable.customize { " 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_nord_bg='light' " Set the airline background + "set background=light + "hi Normal ctermbg=none " Set a transparent background + "let g:airline_solarized_bg='light' " Set the airline background else - set background=dark - hi Normal ctermbg=none " Set a transparent background - let g:airline_nord_bg='dark' " Set the airline background + "set background=dark + "hi Normal ctermbg=none " Set a transparent background + "let g:airline_solarized_bg='dark' " Set the airline background endif " Transparent editing of gpg encrypted files.