Skip to content
Browse files

Set scrolling with mouse wheel to on, add some comments

  • Loading branch information...
1 parent 4eb53a5 commit 60a451bdee6d758b5b0a89e423372110f06885d8 @Asmageddon committed May 12, 2012
Showing with 40 additions and 4 deletions.
  1. +40 −4 .tmux.conf
44 .tmux.conf
@@ -4,14 +4,50 @@
set-option -g base-index 1
set-window-option -g xterm-keys on
-#set-option -g mouse-select-pane on
-set-option -g set-titles on
+#Update environment... whatever it does
-set -g status-bg black
+#White on black background for statusbar and pane names
set -g status-fg white
-set -g status-interval 15
+set -g status-bg black
+set-window-option -g window-status-fg white
+set-window-option -g window-status-bg default
+#Black on white for selected pane name
+set-window-option -g window-status-current-fg black
+set-window-option -g window-status-current-bg white
+#Enable scrolling with mouse wheel but disable selecting panes with it
+set-window-option -g mode-mouse on
+set -g mouse-select-window off
+#Set terminal titles according to what processes running inside want
+set-option -g set-titles on
+#Update status bar every second,
+# only reserve 5 chars on the left and put session number there
+# and put loadavg and date on the right
+set -g status-interval 1
set -g status-left-length 5
set -g status-left '#[bg=red]#[fg=black](#S)'
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[bg=blue]%H:%M#[default]'
+#C-b r -> Reload configuration
bind r source-file ~/.tmux.conf
+bind-key -n C-T new-window
+bind-key -nr M-right next
+bind-key -nr M-left prev
+bind-key -n M-up new-window
+#Regrettably these won't all work :/
+#bind-key -n M-! select-window -t 1
+#bind-key -n M-@ select-window -t 2
+#bind-key -n M-# select-window -t 3
+#bind-key -n M-$ select-window -t 4
+#bind-key -n M-% select-window -t 5
+#bind-key -n M-^ select-window -t 6
+#bind-key -n M-& select-window -t 7
+#bind-key -n M-* select-window -t 8
+#bind-key -n M-( select-window -t 9

0 comments on commit 60a451b

Please sign in to comment.
Something went wrong with that request. Please try again.