From e35d1c8c7843bdd9ab57f9ea4b3d323fd92924f4 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 8 Aug 2019 13:33:21 +0100 Subject: Use the right TERM for tmux --- tmux.conf | 2 +- tmux.md | 2 +- 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" ``` -- cgit v1.2.3