From 71768b10a5ec47e62771ca2f31c31667ac5d287b Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Wed, 16 Dec 2020 21:41:11 +0000 Subject: [PATCH] Switch vim to gruvbox --- sets/neovim/default.nix | 2 +- sets/neovim/init.vim | 4 +++- sets/virtualization.nix | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sets/neovim/default.nix b/sets/neovim/default.nix index 107a8d5..24d4d7d 100644 --- a/sets/neovim/default.nix +++ b/sets/neovim/default.nix @@ -12,13 +12,13 @@ editorconfig-vim fzf-vim vim-airline - vim-airline-themes vim-clang-format vim-fetch vim-nftables vim-nix vim-sensible vim-toml + gruvbox coc-go coc-json diff --git a/sets/neovim/init.vim b/sets/neovim/init.vim index 1ddc14e..e13ffcc 100644 --- a/sets/neovim/init.vim +++ b/sets/neovim/init.vim @@ -1,5 +1,7 @@ cnoremap w!! w !sudo tee > /dev/null % +autocmd vimenter * ++nested colorscheme gruvbox + set guifont=Fira\ Code:h11 let g:airline#extensions#tabline#enabled = 1 @@ -10,7 +12,7 @@ set hidden set nobackup set nowritebackup set cmdheight=2 -set updatetime=2 +set updatetime=300 set shortmess+=c set signcolumn=yes " Use tab for trigger completion with characters ahead and navigate. diff --git a/sets/virtualization.nix b/sets/virtualization.nix index 50e4236..f238856 100644 --- a/sets/virtualization.nix +++ b/sets/virtualization.nix @@ -18,6 +18,7 @@ environment.systemPackages = with pkgs; [ virtmanager + spice_gtk ]; users.users = {