dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 8fbd800ed28ca1ce00f9d25dcd004558f41e33d6
parent db624a164f2235b63a642bb349780391d1ce25cf
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date:   Tue,  2 Apr 2013 18:01:02 -0700

many new tmux settings

Diffstat:
M.tmux.conf | 20+++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -8,12 +8,21 @@ bind-key k select-pane -U bind-key j select-pane -D bind-key h select-pane -L bind-key l select-pane -R +bind -r K resize-pane -U 5 +bind -r J resize-pane -D 5 +bind -r H resize-pane -L 5 +bind -r L resize-pane -R 5 bind r source-file ~/.tmux.conf \; display "Source file reloaded" set -g base-index 1 # start window numbering at 1 set -g pane-base-index 1 # start pane numbering at 1 +setw -g mode-mouse on +set -g mouse-select-pane on +set -g mouse-resize-pane on +set -g mouse-select-window on + set -g default-terminal "screen-256color" setw -g utf8 on @@ -32,17 +41,22 @@ bind-key a send-prefix # Set status bar set -g status-bg default set -g status-fg white -set -g status-left "" -set -g status-right "#[fg=green]#H" +#set -g status-right "#[fg=green]#H" +set -g status-left-length 40 +set -g status-left "#[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P" +set -g status-right "#[fg=blue]#(acpi|sed 's/Battery//; s/0://; s/Discharging//; s/remaining//; s/ , //') #[fg=white]#(cat /proc/loadavg|awk '{print $1;}') #[fg=cyan]%d %b %R" +set -g status-justify centre # Highlight active window -setw -g window-status-fg white +setw -g window-status-fg cyan setw -g window-status-bg default setw -g window-status-attr dim setw -g window-status-current-fg white setw -g window-status-current-bg red setw -g window-status-current-attr bright +setw -g monitor-activity on + # Inactive panes set -g pane-border-fg colour238 #set -g pane-border-bg black