From 4bf4522e33d8ee8e45991363c895690de9597099 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 26 May 2021 16:23:37 +1000 Subject: [PATCH] vim: switched to PaperColor --- profiles/vim.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/profiles/vim.nix b/profiles/vim.nix index 51d777e..e8d628a 100644 --- a/profiles/vim.nix +++ b/profiles/vim.nix @@ -12,8 +12,9 @@ vim_configurable.customize { set shiftwidth=4 " Default indent spacing set expandtab " Expand [TABS] to spaces syntax on " Enable syntax highlighting - colorscheme gruvbox " Set the default colour scheme set t_Co=256 " Use 265 colors in vim + set background=light " Set the default background scheme + colorscheme PaperColor " Set the default colour scheme set spell spelllang=en_au " Defaul spell checking language set spellfile=~/.vim-spell.en.utf-8.add " Add the spellfile hi clear SpellBad " Clear any unwanted default settings @@ -47,11 +48,11 @@ vim_configurable.customize { " Light during the day, dark during the night let hour = strftime("%H") if 7 <= hour && hour < 17 - set background=dark + set background=light "hi Normal ctermbg=none " Set a transparent background "let g:airline_solarized_bg='dark' " Set the airline background else - set background=dark + set background=light "hi Normal ctermbg=none " Set a transparent background "let g:airline_solarized_bg='dark' " Set the airline background endif @@ -273,6 +274,7 @@ vim_configurable.customize { nerdtree # File system explorer nerdtree-git-plugin # Plugin for nerdtree showing git status nord-vim # Nord theme for ViM + papercolor-theme # Light & dark schemes inspired by Google's Material Design snipmate # Concise vim script implementing TextMate's snippets features solarized # Solarized colours for Vim supertab # Allows you to use for all your insert completion