Newer
Older
server-setup / .tmux.conf
# My tmux config file
# copied from https://danielmiessler.com/study/tmux
# and http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/

set -g set-titles on
set -g set-titles-string '#(whoami)@#(hostname)'

# Customize status bar
set -g status-utf8 on
set -g status-bg green
set -g status-fg black
set -g status-interval 5
set -g status-left-length 90
set -g status-right-length 60
set -g status-justify left
set -g status-left '#[fg=white][#S] '
set -g status-right '#[fg=white]%a %d %b %R'

# Fast pane switching
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D

bind -n M-b command-prompt
set -g pane-base-index 1