Sample configuration
#key bindings
setw -g mode-keys vi
unbind C-b
set -g prefix C-a
bind C-a send-prefix
bind-key -n C-k copy-mode -u
bind-key -n M-i previous-window
bind-key -n M-o next-window
bind-key -n M-v new-window
set -g history-limit 10000
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
bind -n C-k copy-mode \; send PPage
bind -n C-j send PgDn
# pane movement
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
## set status bar
set-option -g status-utf8 on
set-option -g status-bg colour11
#set-option -g status-fg colour8
set-option -g status-fg colour255
#set-option -g status-left '⣿'
#set-option -g status-right '⡇ #[bold]❐ #S:#I#[default] ⡇ #[bold]#(whoami) ● #H#[default] '
#set-option -g status-right '⡇ ❐ #S ⡇ ❖ #(rvm tools identifier) ⡇ #(whoami) ● #H '
set-option -g status-left ' #[bold]❐ #S#[default] ⡇'
set-option -g status-right '#[bold]#(whoami) ● #H#[default] '
set-option -g status-left-fg black
set-option -g status-right-fg black
set-option -g status-right-length 60
set-option -g status-right-attr bold
set-option -g status-left-length 60
#use for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i}\n" ; done to get colors
## highlight active window
set -g status-bg colour197
set -g status-fg colour255
set-window-option -g window-status-bg colour237
set-window-option -g window-status-bg colour237
set-window-option -g window-status-current-bg colour166
#set-window-option -g window-status-current-fg colour15
set-window-option -g window-status-current-fg colour255
set-window-option -g window-status-current-attr bold
set-window-option -g window-status-current-format ' #I #W '
## set window notifications
set-option -g visual-activity on
set-option -g visual-content on
set-window-option -g monitor-activity on
set-window-option -g automatic-rename off
## tmux window titling for X
set-option -g set-titles on
set-option -g set-titles-string '[#I] #W'
set-window-option -g automatic-rename on
set-window-option -g window-status-format ' #I #W '
set-window-option -g window-status-attr bold
# starts windows at 1 not 0
set-option -g base-index 1
## enable mouse
#set-option -g mouse-select-pane on
# set-window-option -g mode-mouse on
# set-window-option -g monitor-activity off
# set-window-option -g monitor-content off
## pane border and colors
set-option -g pane-active-border-fg yellow
set-option -g pane-border-fg white
Discussion