Permalink
Browse files

Add tmux config file

  • Loading branch information...
1 parent 24e092a commit 4ca4832f39075d1718b9ee5367039e88ff194f1c your_name committed May 17, 2012
Showing with 44 additions and 0 deletions.
  1. +44 −0 _tmux
View
@@ -0,0 +1,44 @@
+# Make it use C-a, similar to screen..
+unbind C-b
+unbind l
+set -g prefix C-a
+bind-key C-a last-window
+
+bind r source-file ~/.tmux.conf
+set -g default-terminal "screen-256color"
+set -g history-limit 1000
+
+# Theme
+set -g status-bg black
+set -g status-fg white
+set -g status-interval 60
+set -g status-left-length 30
+set -g status-left '#[fg=blue](#S) #(whoami)@#H#[default]'
+set -g status-right '#[fg=red]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=blue]%H:%M#[default]'
+
+# UTF-8
+set-option -g status-utf8 on
+set-window-option -g utf8 on
+
+# Highlight active window
+setw -g window-status-current-bg blue
+
+# Set window notifications
+setw -g monitor-activity on
+set -g visual-activity on
+
+# Automatically set window title
+setw -g automatic-rename on
+
+# Use mouse to select pane
+set -g mouse-select-pane on
+
+# Mode-keys style for copy mode
+setw -g mode-keys vi
+
+# Default session
+new -d -s "default"
+
+# Split window
+bind | split-window -h
+bind - split-window -v

0 comments on commit 4ca4832

Please sign in to comment.