VIM: Add my prefered colourscheme: gruvbox and set leaders

This involved adding a submodule which contains the gruvbox plugin.

Normally I have the background transparent when using vim but I am going
to try without that.

I have set my leader key to space and my local leader to \ which I am
used to
This commit is contained in:
Jonathan Hodgson 2020-09-26 15:37:26 +01:00
parent dbddb76f6f
commit 8a3cc67dce
5 changed files with 13 additions and 0 deletions

3
.gitmodules vendored
View file

@ -19,3 +19,6 @@
[submodule "shells/zsh/plugins/git-fuzzy"]
path = shells/zsh/plugins/git-fuzzy
url = https://github.com/bigH/git-fuzzy
[submodule "nvim/.config/nvim/pack/opt/gruvbox"]
path = nvim/.config/nvim/pack/bundle/opt/gruvbox
url = https://github.com/morhetz/gruvbox.git

View file

@ -0,0 +1,2 @@
let mapleader = "\<Space>"
let maplocalleader = "\\"

@ -0,0 +1 @@
Subproject commit bf2885a95efdad7bd5e4794dd0213917770d79b7

View file

@ -0,0 +1,3 @@
if has('packages')
packadd! gruvbox
endif

View file

@ -0,0 +1,4 @@
let g:gruvbox_italic=1
set termguicolors
colorscheme gruvbox