GRUVBIT: vim colorscheme
-
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.
-
Use GUI or terminal with
set termguicolors
for authentic colors. Looks OK though in terminals with standard 256 color palette. -
No syntax with bold or italic, except Title and Directory are bold.
-
No plugin syntax setup — only built-ins are highlighted. Waiting for this vim issue is resolved.
-
Simple.
Installation
- 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
Looks good but I want italic comments
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
And bold statements
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
And VertSplit without background colors
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