Correct some explainations

It uses the notion of 8-bits colors to describe the space of xterm 256
colors.
This commit is contained in:
Ludovic Koenig
2019-03-09 14:09:03 +01:00
parent 24b738b4e0
commit efa931dcca
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ project adheres to [Semantic Versioning].
- Add support for 256-colors terminal. - 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 ```vim
set termguicolors set termguicolors
+10 -2
View File
@@ -28,14 +28,22 @@ After having installed [pathogen.vim], clone the repository under
Add the following to the `./vimrc` file. 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 ```vim
set termguicolors set termguicolors
colorscheme odyssey 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 ```vim
set t_Co=256 set t_Co=256