From 9226aa69f9ad10bbb86a99022236586a9ebf0d4e Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Tue, 12 Apr 2022 15:34:28 -0400 Subject: [PATCH] tmux color thingy --- home/tmux.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/tmux.nix b/home/tmux.nix index 83fe490..549d285 100644 --- a/home/tmux.nix +++ b/home/tmux.nix @@ -16,7 +16,12 @@ ]; extraConfig = '' - set -g default-terminal "tmux-256color" + # https://old.reddit.com/r/tmux/comments/mesrci/tmux_2_doesnt_seem_to_use_256_colors/ + set -g default-terminal "xterm-256color" + set -ga terminal-overrides ",*256col*:Tc" + set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q' + set-environment -g COLORTERM "truecolor" + # Mouse works as expected set-option -g mouse on # easy-to-remember split pane commands