README terminals updated

This commit is contained in:
Tomáš Iser 2017-10-06 23:56:19 +02:00 committed by GitHub
commit e94dcbfe65

View file

@ -7,16 +7,18 @@
## Screenshots
### gVim *(full support)*
### gVim / modern terminals
![Ruby and NERDTree](https://cloud.githubusercontent.com/assets/10374559/23333137/b86efaa0-fb86-11e6-8c06-813f81c1f9bb.png)
![Editing HTML and CSS](https://cloud.githubusercontent.com/assets/10374559/23344709/459972a2-fc81-11e6-9b50-c432d998caef.png)
*Code samples [1](http://sandbox.mc.edu/~bennet/ruby/code/), [2](https://tmtheme-editor.herokuapp.com/), [`nerdtree`](https://github.com/scrooloose/nerdtree)*
### 256-color terminals *(nearest available colors)*
### Terminals with limited color support
#### Fixed 256 colors
![Terminal on Debian with 256 colors](https://cloud.githubusercontent.com/assets/10374559/23342967/e61e28c6-fc63-11e6-9ccf-d6189b9e1b61.png)
### 8/16-color terminals *(partial support)*
#### Fixed 8/16 colors
![Terminal on Debian with 16 colors](https://cloud.githubusercontent.com/assets/10374559/23341713/0e8dd778-fc4d-11e6-8430-b11f161305d7.png)
## Color Palette
@ -51,13 +53,11 @@ let g:airline_theme = 'codedark'
### 3) Terminal support
#### 3.1) If you use gVim
#### 3.1) If you use gVim / a modern terminal
:+1: The colorscheme will work out of the box. No need to setup anything else!
#### 3.2) If you use a terminal with at least 256 colors
**(e.g. GNOME Terminal, newest Bash for Windows)**
If your terminal supports 256 and more colors (see [this script](http://www.robmeerman.co.uk/unix/256colours) if you want to test your terminal), this colorscheme should automatically use closest available colors to match the palette. You **may need to set `t_Co` to 256** and [possibly also reset the `t_ut` value](http://vi.stackexchange.com/questions/238/tmux-is-changing-part-of-the-background-in-vim) in your `.vimrc` before setting the colorscheme:
#### 3.2) If the colors seem to be wrong
If your terminal supports 256 colors (see [this script](http://www.robmeerman.co.uk/unix/256colours) if you want to test your terminal), you **may need to set `t_Co` to 256** and [possibly also reset the `t_ut` value](http://vi.stackexchange.com/questions/238/tmux-is-changing-part-of-the-background-in-vim) in your `.vimrc` before setting the colorscheme:
```
set t_Co=256
@ -67,7 +67,7 @@ colorscheme codedark
(Additionally, if you don't want to or cannot use `t_Co`, you can `let g:codedark_term256=1`.)
#### 3.3) If you use a terminal with only 8 or 16 colors
#### 3.3) If your terminal only supports 8/16 colors
:exclamation: Before following those steps, first try step 3.2) - maybe your terminal does support 256 colors!