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