diff options
author | William Carroll <wpcarro@gmail.com> | 2017-01-04T05·12-0500 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2017-01-04T05·12-0500 |
commit | f2663c5b371c6832ddef23cd985d4930d1867a5c (patch) | |
tree | b3fc182239e47a60395a8b8701f1ef1617f9787d | |
parent | c2db736f668eedcd68028c1faeae1959202a0f86 (diff) | |
parent | b47dca2ead70b2c9401f5885ddcbaa80498af73b (diff) |
Merge branch 'master' of https://github.com/wpcarro/pc_settings
-rw-r--r-- | README.md | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/README.md b/README.md index 95bfd70664f3..09cf89f1cb4a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,40 @@ $ 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). + +At each step of the way, test TrueColor using the following shell pipeline (hint: the gradients should be smooth): + +```bash +$ curl https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh | bash +``` + + +* 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: |