aboutsummaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
new file mode 100644
index 0000000..8919cad
--- /dev/null
+++ b/tmux.conf
@@ -0,0 +1,34 @@
+#Integrate Mouse Scrolling
+# setw -g mode-mouse on
+# set-option -g mouse-select-pane on
+
+#Increase the scrollback
+set -g history-limit 5000
+
+#Screen-like prefix.
+set -g prefix C-a
+bind-key C-a last-window
+
+#Better bindings for window split
+unbind % # Remove default binding since we’re replacing
+bind | split-window -h
+bind - split-window -v
+
+#Customize the status bars.
+set -g status-bg cyan
+set -g status-fg white
+set -g status-left-length 24
+set -g status-left '#[fg=black]#[bg=white]#H-#S'
+set-window-option -g window-status-current-bg red
+set -g status-right '#[fg=black]#[bg=white]#(uptime)'
+set -g status-right-length 70
+
+#Set Activity monitoring.
+setw -g monitor-activity on
+set -g visual-activity on
+
+# Vi keys in copy mode.
+setw -g mode-keys vi
+
+# Set color mode.
+set -g default-terminal "screen-256color"