aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-08-08 13:33:21 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:28 +0100
commite35d1c8c7843bdd9ab57f9ea4b3d323fd92924f4 (patch)
tree44facf9f037d39b55b7fa12c7aeafd7eac8a0739
parent1603326e997de7ff915bc0a230431a925ae36d93 (diff)
downloaddotnvim-e35d1c8c7843bdd9ab57f9ea4b3d323fd92924f4.tar.gz
dotnvim-e35d1c8c7843bdd9ab57f9ea4b3d323fd92924f4.zip
Use the right TERM for tmux
-rw-r--r--tmux.conf2
-rw-r--r--tmux.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/tmux.conf b/tmux.conf
index dbaebcc..856cf00 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -7,7 +7,7 @@ bind-key C-a send-prefix
set -g mouse on
# For vim themes
-set -g default-terminal "xterm-256color"
+set -g default-terminal "tmux-256color"
# xterm-style function key sequences
setw -g xterm-keys on
diff --git a/tmux.md b/tmux.md
index 579f1da..80dc27f 100644
--- a/tmux.md
+++ b/tmux.md
@@ -18,6 +18,6 @@ ln -s ~/.vim/tmux.conf ~/.tmux.conf
Run tmux with `-u2`, or add an alias to your `~/.bashrc`:
```
-alias tmux="tmux -u2"
+alias tmux="TERM=tmux-256color tmux -u2"
```