-
Built using awesome Toolkit for Vim Color Scheme Designers!
-
Based on gruvbox hard dark background.
-
Mapping to syntax elements are different to gruvbox. Less reddish, more yellowish.
-
Some colors were slightly changed too.
-
No syntax with bold or italic, except Title and Directory are bold.
-
Do you want white background? Check polar.
-
Do you want light background? Check psionic.
-
Do you like black background? Check habanight.
-
Do you like Apprentice? Check alchemist.
- Using plugin manager
-
Follow your plugin manager documentation, for example, vim-plug does it this way:
" Specify a directory for plugins call plug#begin('~/.vim/plugged') Plug 'habamax/vim-gruvbit' " ... other plugins ... " Initialize plugin system call plug#end() set termguicolors colorscheme gruvbit
- Manual with git
-
Clone this repo to your vim/nvim packages directory:
Vim on Linux or OSXgit clone https://github.com/habamax/vim-gruvbit ~/.vim/pack/plugins/start/vim-gruvbit
Neovim on Linux or OSXgit clone https://github.com/habamax/vim-gruvbit ~/.config/nvim/pack/plugins/start/vim-gruvbit
Vim on Windowsgit clone https://github.com/habamax/vim-gruvbit C:/Users/USERNAME/vimfiles/pack/plugins/start/vim-gruvbit (1)
Neovim on Windowsgit clone https://github.com/habamax/vim-gruvbit C:/Users/USERNAME/AppData/Local/nvim/pack/plugins/start/vim-gruvbit (1)
-
Change
USERNAME
to your user name
-
- Manual
-
-
Download zip archive (available in Code › Download ZIP)
-
Extract
colors/gruvbit.vim
file into your vim/nvim settings directory-
~/.vim/colors/gruvbit.vim
— vim (linux, osx) -
~/vimfiles/colors/gruvbit.vim
— vim (windows) -
~/.config/nvim/colors/gruvbit.vim
— neovim (linux, osx) -
~/AppData/Local/nvim/colors/gruvbit.vim
— neovim (windows)
-
-
add to your settings:
set termguicolors
colorscheme gruvbit
Add following to your settings file:
augroup colorscheme_change | au!
au ColorScheme gruvbit hi Comment gui=italic cterm=italic
augroup END
set termguicolors
colorscheme gruvbit
Add following to your settings file:
func! s:gruvbit_setup() abort
hi Comment gui=italic cterm=italic
hi Statement gui=bold cterm=bold
endfunc
augroup colorscheme_change | au!
au ColorScheme gruvbit call s:gruvbit_setup()
augroup END
set termguicolors
colorscheme gruvbit
func! s:gruvbit_setup() abort
hi Comment gui=italic cterm=italic
hi Statement gui=bold cterm=bold
hi VertSplit guibg=NONE ctermbg=NONE
endfunc
augroup colorscheme_change | au!
au ColorScheme gruvbit call s:gruvbit_setup()
augroup END
set termguicolors
colorscheme gruvbit
Gruvbit supports vim-airline:
and lightline.vim:
Note though, it wouldn’t work if you install gruvbit into /opt/
directory of vim packages.
For vim-airline
you don’t need to do anything special it should automatically pickup gruvbit theme.
For lightline.vim
add following to your vimrc:
let g:lightline = {"colorscheme": "gruvbit"}