[raw] [dotfiles.tar.gz]
   1 set -g set-titles on
   2 set -g set-titles-string '#T'
   3 
   4 set -g history-limit 10000
   5 set -g default-terminal 'xterm'
   6 
   7 set -g base-index 1
   8 set -g pane-base-index 1
   9 set -g renumber-windows on
  10 
  11 # Keys {{{
  12 
  13 set -g mouse on
  14 bind -T root MouseDown2Pane paste-buffer
  15 
  16 set -g prefix C-a
  17 set -g escape-time 0
  18 
  19 bind q kill-pane
  20 bind Q kill-window
  21 
  22 bind a choose-tree
  23 bind C-a select-pane -t :.+
  24 
  25 bind T break-pane
  26 bind C-n new-window
  27 
  28 bind s split-window -vc '#{pane_current_path}'
  29 bind v split-window -hc '#{pane_current_path}'
  30 
  31 bind m choose-window 'move-pane -t "%%"'
  32 bind M choose-session 'move-window -t "%%:"'
  33 
  34 bind n command-prompt -I '#W' 'rename-window "%%"'
  35 bind N command-prompt -I '#S' 'rename-session "%%"'
  36 
  37 bind -r S-Up swap-pane -U
  38 bind -r S-Down swap-pane -D
  39 bind -r S-Left swap-pane -U
  40 bind -r S-Right swap-pane -D
  41 
  42 # }}}
  43 # Colors {{{
  44 
  45 set -g pane-border-style fg=colour8
  46 set -g pane-active-border-style fg=colour7
  47 
  48 set -g status-style bg=default,fg=colour7
  49 set -g window-status-current-style fg=colour15
  50 
  51 set -g message-style bg=default,fg=colour15
  52 
  53 # }}}
  54 # Statusline {{{
  55 
  56 set -g status-left ''
  57 set -g status-right '#{?client_prefix,#[fg=colour15 reverse],} #(echo $USER)@#H '
  58 
  59 set -g status-justify right
  60 set -g window-status-current-format '#I:#W '
  61 
  62 # }}}