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 304b336b33da7bf1dbf3d1f5fc467142d6b3586c
parent 4e4b85dd404b839f0b96893b93249997f0265c9d
Author: Anders Damsgaard <adc@geo.au.dk>
Date:   Wed, 31 Oct 2012 08:19:04 +0100

Updated tmux

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

diff --git a/.tmux.conf b/.tmux.conf @@ -1,7 +1,8 @@ -# C-b is not acceptable -- Vim uses it +# C-a as tmux key set-option -g prefix C-a -bind-key C-a last-window +bind-key C-a last-window # Go to last window with C-a C-a +# vi-like movement bind-key k select-pane -U bind-key j select-pane -D bind-key h select-pane -L @@ -13,10 +14,19 @@ set -g base-index 1 # start numbering at 1 set -g default-terminal "screen-256color" +setw -g utf8 on +setw -g automatic-rename on + # Allows us to use C-a a <command> to send commands to a TMUX session inside # another TMUX session bind-key a send-prefix +# Color definitions; see list with following script: +# #!/bin/bash +# for i in {0..255} ; do +# printf "\x1b[38;5;${i}mcolour${i}\n" +# done + # Set status bar set -g status-bg black set -g status-fg white @@ -24,24 +34,24 @@ set -g status-left "" set -g status-right "#[fg=green]#H" # Highlight active window -set-window-option -g window-status-current-bg red -#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 - -#set -g pane-border-fg green +setw -g window-status-fg white +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 + +# Inactive panes +set -g pane-border-fg colour238 #set -g pane-border-bg black -#set -g pane-active-border-fg white +# Active panes +set -g pane-active-border-fg colour247 #set -g pane-active-border-bg yellow -#set -g message-fg white -#set -g message-bg black -#set -g message-attr bright +# Status messages +set -g message-fg yellow +set -g message-bg black +set -g message-attr bright -setw -g utf8 on -setw -g automatic-rename on