-
Notifications
You must be signed in to change notification settings - Fork 62
Installation
Here you can find two general ways of getting gruvbox-community into your system but you are free to get it from source. It's necessary to follow the configuration step after successful installation to get gruvbox-community running.
First of all, let's start with the basics. Pick your favorite plugin manager: Pathogen, Vundle, NeoBundle or vim-plug, just to name a few. Pathogen is the oldest, simplest, and most featureless. Vundle is very popular and I've used it for a long time before. If you're using some of Shougo's plugins, you should probably pick NeoBundle. Last but not least is vim-plug, which I've recently switched to.
- Pathogen
git clone https://github.com/gruvbox-community/gruvbox.git ~/.vim/bundle/gruvbox
- Vundle
- Add
Plugin 'gruvbox-community/gruvbox'
to your .vimrc and run:PluginInstall
- Add
- NeoBundle
- Add
NeoBundle 'gruvbox-community/gruvbox'
to your .vimrc and run:NeoBundleInstall
- Add
- vim-plug
- Add
Plug 'gruvbox-community/gruvbox'
to your .vimrc and run:PlugInstall
- Add
- Vim-8
git clone https://github.com/gruvbox-community/gruvbox.git ~/.vim/pack/default/start/gruvbox
When gruvbox-community is packaged for your system of choice you can install it with your system's package manager.
- Arch / Manjaro Linux - vim-gruvbox-community and vim-airline-gruvbox-git
- NixOS - gruvbox-community
Then add the line colorscheme gruvbox
to your .vimrc file, and restart vim.
If you're using a GUI version of vim that should be enough. Otherwise, you may need to follow the terminal specific issues.
Refer Usage page on dark and light themes switching and cursor inversions.