# Tmux configuration geared for ES usage. ## Server options ## set -gs backspace C-? set -gs default-terminal tmux-256color set -gs editor es set -gs escape-time 0 # SEE: https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys # TODO: IMPLEMENT THIS http://www.leonerd.org.uk/hacks/fixterms/ set -gs extended-keys on set -gs focus-events on set -gs set-clipboard on ## Session options ## set -g activity-action other set -g base-index 1 set -g bell-action any set -g display-panes-active-colour green set -g display-panes-colour blue set -g display-time 0 set -g mouse on set -g prefix C-c set -g renumber-windows on set -g set-titles on set -g set-titles-string "#W #{session_alerts}" set -g silence-action other set -g status-justify absolute-centre set -g status-keys emacs set -g status-left " tmux[#S] " set -g status-position top set -g status-right " #H " set -g status-style reverse set -g visual-activity on set -g visual-bell on set -g visual-silence on ## Window options ## set -gw aggressive-resize on set -gw mode-keys emacs set -gw monitor-activity off set -gw monitor-bell on set -gw monitor-silence 0 set -gw pane-base-index 1 set -gw pane-border-indicators arrows set -gw pane-border-lines single set -gw popup-border-lines rounded ## Pane options ## set -gp allow-rename on set -gp alternate-screen on set -gp cursor-style blinking-block set -gp remain-on-exit failed set -gp scroll-on-clear on ## Key binds ## bind C-c send-prefix # TODO: keybinds to monitor activity, silence # A hack to make simple C-x C-c work instead of C-x C-c C-c bind -T root C-x send C-x \; switch-client -T cx_table \; set prefix None bind -T cx_table Any send \; switch-client -T root \; set prefix C-c