Author: Kyle Fuller <inbox@kylefuller.co.uk> 2012-02-29 23:38:03 +0000 +0000
Committer: Kyle Fuller <inbox@kylefuller.co.uk> 2012-02-29 23:38:03 +0000 +0000
Commit: 8552817777e706f3cac7c1ba299dbaf4df2f593e
Parent: 9d75d49e7dff4ec7a5e21e164a0a4149f697743f
Add my new tmux.conf
diff --git a/.tmux.conf b/.tmux.conf
new file mode 100644
index 0000000000000000000000000000000000000000..972d1f00f2968298615ade8c360030c5ac9e3844
--- /dev/null
+++ b/.tmux.conf
@@ -0,0 +1,34 @@
+set -g default-terminal "screen-256color"
+
+setw -g monitor-activity on
+set -g visual-activity on
+setw -g utf8 on
+
+setw mode-mouse copy-mode
+
+### Status bar ###
+set-window-option -g window-status-current-bg red
+set -g status-bg black
+set -g status-fg white
+set -g status-left "#[fg=green]#H"
+set -g status-right "#[fg=yellow]#(uptime | cut -d ':' -f 3-)"
+
+### Bindings ###
+
+setw -g mode-keys vi
+
+# navigate panes with hjkl
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+# resize panes like vim
+bind < resize-pane -L 10
+bind L resize-pane -L 100
+bind > resize-pane -R 10
+bind R resize-pane -R 100
+bind - resize-pane -D 5
+bind D resize-pane -D 35
+bind + resize-pane -U 5
+bind U resize-pane -U 35