summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.tmux.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
new file mode 100644
index 0000000..e60d09b
--- /dev/null
+++ b/tmux/.tmux.conf
@@ -0,0 +1,7 @@
+set -s escape-time 0
+set -g default-terminal "screen-256color"
+
+if -F "#{==:#{session_windows},1}" "set -g status off" "set -g status on"
+set-hook -g window-linked 'if -F "#{==:#{session_windows},1}" "set -g status off" "set -g status on"'
+set-hook -g window-unlinked 'if -F "#{==:#{session_windows},1}" "set -g status off" "set -g status on"'
+set -g status-position "top"