Author: Kyle Fuller <kyle@fuller.li> 2015-11-23 22:52:01 +0000 +0000
Committer: Kyle Fuller <kyle@fuller.li> 2015-11-23 22:52:01 +0000 +0000
Commit: deedeeea7a2b823dd6615175236ec641cedd9d24
Parent: 90440a990fcc1768bfa1af5ea381497e67ad516f
[tmux] Updated config
diff --git a/.tmux.conf b/.tmux.conf
index 33adaab6dcbb3fd6648e8241570c8c21d551094f..f5b18580271cedf2633a700e5889cdac06519f1e 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -1,36 +1,52 @@
set -g default-terminal "screen-256color"
-setw -g monitor-activity on
-set -g visual-activity on
-setw -g utf8 on
+# Reloading
+bind r source-file ~/.tmux.conf \; display "Reloaded!"
-setw -g mode-mouse copy-mode
-set -g mouse-select-pane on
-set -g mouse-select-window on
-
-### Status bar ###
-set-window-option -g window-status-current-bg red
+# Appearance
+## Status Bar
set -g status-bg black
set -g status-fg white
-set -g status-left "#[fg=green]#H"
-set -g status-right "#[fg=yellow]#(uptime | awk -F'load averages:' '{ print $2 }')"
+set -g status-justify centre
-### Bindings ###
+set -g status-left-bg black
+set -g status-left-fg colour243
+set -g status-left-length 40
+set -g status-left "#S"
+setw -g window-status-format "#[fg=colour243] #W"
+setw -g window-status-current-format "#W"
+
+set -g status-right-length 20
+set -g status-right-bg black
+set -g status-right-fg colour243
+set -g status-right "#H"
+
+## Panes
+set -g pane-border-fg blue
+set -g pane-active-border-fg brightred
+
+# Unicode
+setw -g utf8 on
+setw -g utf8 on
+set -g status-utf8 on
+
+# Key Bindings
setw -g mode-keys vi
+set -g status-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
+bind : command-prompt
-# 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
+## toggle statusbar
+bind-key b set-option
+
+## v and h to split
+bind h split-window -h
+bind v split-window -v
+
+# Mouse
+setw -g mode-mouse on
+setw -g mode-mouse copy-mode
+set -g mouse-select-pane on
+set -g mouse-select-window on
+set -g mouse-resize-pane on