# Remap prefix set -g prefix C-o unbind C-b bind C-o send-prefix # force a reload of the config file unbind r bind r source-file ~/.tmux.conf # address vim mode switching delay (http://superuser.com/a/252717/65504) set -s escape-time 0 # increase scrollback buffer size set -g history-limit 50000 # tmux messages are displayed for 4 seconds set -g display-time 4000 # refresh 'status-left' and 'status-right' more often set -g status-interval 5 # Emacs-ish pane cycling unbind o bind o select-pane -t :.+ # Set the terminal set -g default-terminal "tmux" # Use mouse highlighting set -g mouse on # focus events enabled for terminals that support them set -g focus-events on # Use windows like tabs bind -n S-down new-window bind -n S-left prev bind -n S-right next bind -n C-left swap-window -t -1 bind -n C-right swap-window -t +1 # Status bar # set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M' # Use fish set -g default-shell /usr/bin/fish # TODO: put this in Git