From 208dd01e3f7d94e4a6d7958fe9669e4144b1a7f9 Mon Sep 17 00:00:00 2001 From: Lifepillar Date: Sun, 21 Aug 2016 16:08:49 +0300 Subject: [PATCH] Add a troubleshooting section. --- Readme.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Readme.md b/Readme.md index c8ce2b3..de2dff2 100644 --- a/Readme.md +++ b/Readme.md @@ -72,6 +72,21 @@ The following options were not available in the original Solarized: These options may be used with any `solarized8_*` variant. +## Troubleshooting + +**Hey, I do not get the right colors when running Vim inside tmux!** + +Put this in your `.vimrc`: + +``` +set t_8f=^[[38;2;%lu;%lu;%lum +set t_8b=^[[48;2;%lu;%lu;%lum +``` + +where `^[` is *not* obtained by typing `^` followed by `[`, but it is a real +escape character (to obtain it, type `` in Insert mode). See `:h +xterm-true-color` for the details. + ## Tips If you want to quickly toggle between dark and light background, you may define