summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/tmux/tmux.conf11
1 files changed, 10 insertions, 1 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 8226b39..79ceb7d 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -1,11 +1,13 @@
# Load tmux config
bind r source-file $HOME/.config/tmux/tmux.conf
+set -g @plugin 'tmux-plugins/tpm'
# Bind prefix to C-a
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
+
# Allows vim to display colors correctly.
set -g default-terminal "${TERM}"
set -ga terminal-overrides ',*256col*:Tc'
@@ -28,7 +30,11 @@ set-option -g status-right ""
set-option -g window-status-format " #[fg=#E1E1E1] #{window_index}#(echo ':')#{window_name}#{window_flag} "
set-option -g window-status-current-format " #[bold bg=#151515] > #{window_index}#(echo ':')#{window_name}#{window_flag} "
-#set -g default-terminal screen-256color
+set -s escape-time 0
+set -g display-time 1500
+set -g status-interval 5
+setw -g aggressive-resize on
+
set -g status-keys vi
set -g history-limit 10000
@@ -79,3 +85,6 @@ bind-key -n -N 'Toggle popup window' M-g if-shell -F '#{==:#{session_name},popup
-xC -yC -w 80% -h 75% \
-E 'tmux attach-session -t popup || tmux new-session -s popup'
}
+
+set -g @plugin 'tmux-plugins/tmux-resurrect'
+run '~/.config/tmux/plugins/tpm/tpm'