Adds TrueColor information
This commit is contained in:
parent
ab3f645cb7
commit
af0fd4bee0
1 changed files with 27 additions and 1 deletions
28
README.md
28
README.md
|
@ -14,7 +14,33 @@ $ tic $TERM.ti
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Italics in tmux and vim
|
## True Color and Italics in tmux and vim
|
||||||
|
|
||||||
|
### TrueColor
|
||||||
|
|
||||||
|
Note: make sure that the terminal you are using supports TrueColor (hint: recent version of iTerm2 do). Also make sure that the tmux version you are using supports TrueColor (hint: versions north of 2.2 should).
|
||||||
|
|
||||||
|
* Terminal: recent versions of iTerm 2 should support TrueColor
|
||||||
|
* Tmux: versions 2.2 and after should support TrueColor
|
||||||
|
* NeoVim: recent versions of NeoVim should support TrueColor
|
||||||
|
|
||||||
|
Enable TrueColor in your `~/.vimrc` (already done in this repository):
|
||||||
|
|
||||||
|
```viml
|
||||||
|
set termguicolors
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Enable TrueColor in your `~/.tmux.conf` (already done in this repository):
|
||||||
|
|
||||||
|
NOTE: This may conflict with the setting for italics. Need to verify to confirm / disconfirm this (pending).
|
||||||
|
|
||||||
|
```
|
||||||
|
set -ga terminal-overrides ",xterm-256color-italic:Tc"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### Italics
|
||||||
|
|
||||||
In the file `/configs/.tmux.conf` there is a line to add italics support to tmux:
|
In the file `/configs/.tmux.conf` there is a line to add italics support to tmux:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue