summaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/tmux/tmux.conf')
-rw-r--r--.config/tmux/tmux.conf11
1 files changed, 6 insertions, 5 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 7311ff3..e0d033e 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -10,10 +10,11 @@ bind-key C-a send-prefix
# Allows vim to display colors correctly.
set -g default-terminal "${TERM}"
set -ga terminal-overrides ',*256col*:Tc'
+set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
+
# Undercurl
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
-set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
-set -ga terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
+set -as terminal-overrides ',*:Setulc=\E[58::2::::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
# Status line
set -g status on
@@ -32,13 +33,13 @@ set-option -g window-status-current-format " #[bold bg=#151515] > #{window_index
set -s escape-time 0
set -g display-time 1500
set -g status-interval 5
-setw -g aggressive-resize on
+set-window-option -g aggressive-resize on
set -g status-keys vi
set -g history-limit 10000
-setw -g mode-keys vi
-setw -g mouse off
+set-window-option -g mode-keys vi
+set-window-option -g mouse off
# split panes
bind h split-window -h