summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorIvan K. Boikov <mail@ikboikov.net>2025-01-25 18:30:36 +0100
committerIvan K. Boikov <mail@ikboikov.net>2025-01-25 19:35:42 +0100
commitce8993a0e83e9cf4fb750331b3c57901fd25e20d (patch)
treea4375429472d7484a97442706798b053d95c5ca0 /tmux
parent2a58fc37665b2543f63a4ca7f206f5f7ffe7536f (diff)
tmux: remove color hacks that interfere with nvim
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.config/tmux/tmux.conf18
1 files changed, 7 insertions, 11 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf
index 5a1970a..443ebc3 100644
--- a/tmux/.config/tmux/tmux.conf
+++ b/tmux/.config/tmux/tmux.conf
@@ -58,17 +58,10 @@ set -g mouse on
# 256 colors
# Note: you'll need to tmux kill-server and restart to have this take effect
-set -g default-terminal "screen-256color"
-
-
-# fixing tmux color issues
-# not working solutions found online
-#set-option -sa terminal-features ',XXX:RGB'
-#set-option -ga terminal-overrides ',XXX:Tc'
-#set-option -sa terminal-overrides ",xterm*:Tc"
-# but this works https://github.com/tmux/tmux/issues/34
-set -g default-terminal "tmux" # use 'tmux' instead of 'screen-*' to enable italics support per tmux FAQ
-set-option -ga terminal-overrides ",*256col*:Tc"
+set -g default-terminal "tmux-256color"
+set -ga terminal-overrides ",*256col*:Tc"
+set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
+set-environment -g COLORTERM "truecolor"
# Bottom bar black instead of green
set -g status-style "bg=black"
@@ -78,3 +71,6 @@ set-window-option -g mode-keys vi
# quick search on "mod+/"
bind-key / copy-mode \; send-key ?
+
+set-option -sg escape-time 10
+set-option -g focus-events on