From efa931dcca067fd37436d27e60e0c798df441a1e Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Sat, 9 Mar 2019 14:09:03 +0100 Subject: [PATCH] Correct some explainations It uses the notion of 8-bits colors to describe the space of xterm 256 colors. --- CHANGELOG.md | 2 +- README.md | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bd22c5..22221ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ project adheres to [Semantic Versioning]. - Add support for 256-colors terminal. - + If 256-colors are required, the following must be used in `.vimrc`: + + If 8-bits colors are required, the following must be used in `.vimrc`: ```vim set termguicolors diff --git a/README.md b/README.md index 151379d..a7ba30b 100644 --- a/README.md +++ b/README.md @@ -28,14 +28,22 @@ After having installed [pathogen.vim], clone the repository under Add the following to the `./vimrc` file. - + If 256-colors are required, the following lines must be used: + + For GUI versions of Vim: + + ```vim + colorscheme odyssey + ``` + + + For terminals that support true color, if 24-bits colors are required, the + following lines must be used: ```vim set termguicolors colorscheme odyssey ``` - + If 24-bits colors are required, the following lines must be used: + + For terminals that support 256-colors, if 8-bits colors are required, the + following lines must be used: ```vim set t_Co=256