summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-03-05 20:49:19 +1100
committerMaxime Coste <mawww@kakoune.org>2019-03-05 20:49:19 +1100
commit2fa78d720f21a3c8def38b7faf321833a60f4e77 (patch)
treed2d25ab6c748feb3899e053150ac970ad3ea2571 /doc
parent4843149b6ac82754e7a4e1c983f2a90b8f735d8d (diff)
parentf140b01b5bb1eca3495e0bd9cdf876e59550ae0c (diff)
Merge remote-tracking branch 'eraserhd/tmux-mac-color-fix'
Diffstat (limited to 'doc')
-rw-r--r--doc/pages/faq.asciidoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/pages/faq.asciidoc b/doc/pages/faq.asciidoc
index a86e8c1e..04a5a9b2 100644
--- a/doc/pages/faq.asciidoc
+++ b/doc/pages/faq.asciidoc
@@ -53,20 +53,20 @@ regular color palette by Kakoune. Fortunately, on recent versions of `tmux`
(>=2.6), you can work around that by using the following configuration
settings:
-~/.tmux.conf
-```
+.~/.tmux.conf
+----
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*col*:Tc"
-```
+----
Note: `\*col*` is a regular expression that matches your terminal's `$TERM`
value, modify it if necessary, e.g. `xterm-termite`.
Next, run the following command to create a local `terminfo` override:
-```
+----
$ tic /path/to/kakoune/contrib/tmux-256color.terminfo
-```
+----
Finally, quit all existing sessions (`tmux kill-server`), and restart `tmux`.