Browse Source

Use gruvbox8 colorscheme and true colors.

main
Titouan Rigoudy 4 years ago
parent
commit
bf3a388f07
2 changed files with 10 additions and 4 deletions
  1. +2
    -3
      README.md
  2. +8
    -1
      config.vim

+ 2
- 3
README.md View File

@ -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`:


+ 8
- 1
config.vim View File

@ -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 = "\<Esc>[38:2:%lu:%lu:%lum"
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
set termguicolors
" Use a nice color scheme.
colorscheme jellybeans
colorscheme gruvbox8_hard
set background=dark
" Formatting options.


Loading…
Cancel
Save