diff --git a/README.md b/README.md index 774c31d..fc0d279 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,8 @@ source ~/dotfiles/prompt.sh ## Configure vim -Install the jellybeans colorscheme, either by downloading `jellybeans.vim` into -`.vim/colors/`, or by installing a plugin manager and using it to install -jellybeans. +Install the [gruvbox8](https://github.com/lifepillar/vim-gruvbox8) colorscheme, +specifically the `gruvbox8_hard` variant. Then add the following to your `.vimrc`: diff --git a/config.vim b/config.vim index 899029d..ec010f2 100644 --- a/config.vim +++ b/config.vim @@ -21,8 +21,15 @@ set hlsearch " Jump to search results as user types search query. set incsearch +" Enable true colors. See also `:help xterm-true-color`. +let &t_8f = "\[38:2:%lu:%lu:%lum" +let &t_8b = "\[48:2:%lu:%lu:%lum" +set termguicolors + + " Use a nice color scheme. -colorscheme jellybeans +colorscheme gruvbox8_hard +set background=dark " Formatting options.