set -g default-command "${SHELL}" #Always use tmux bind-key -n M-c kill-pane \; select-layout #re-layout panels after close/open bind-key -n M-n split-window \; select-layout #same ^ set -g default-terminal "screen-256color" set -g history-limit 50000 bindkey '^R' history-incremental-search-backward # edit tmux command-line stuff with vi bindings set-option -g status-keys vi # utf8 is on set -g utf8 on set -g status-utf8 on # address vim mode switching delay (http://superuser.com/a/252717/65504) set -s escape-time 0 # tmux messages are displayed for 5 seconds set -g display-time 5000 # refresh 'status-left' and 'status-right' more often set -g status-interval 5 # Automatically set window title set-window-option -g automatic-rename on set-option -g set-titles on setw -g mode-mouse on set -g mouse-resize-pane on set -g mouse-select-pane on set -g mouse-select-window on set -g mode-keys vi ### command prefix unbind C-b set-option -g prefix 'm-j' bind-key 'm-j' send-prefix #A list of all the options, most of them are default (though I've changed some before making the list) # set-option -g assume-paste-time 1 # set-option -g base-index 0 # set-option -g bell-action any # set-option -g bell-on-alert off # set-option -g default-command "/bin/bash" # set-option -g default-shell "/bin/bash" # set-option -g default-terminal "screen-256color" # set-option -g destroy-unattached off # set-option -g detach-on-destroy on # set-option -g display-panes-active-colour red # set-option -g display-panes-colour blue # set-option -g display-panes-time 1000 # set-option -g display-time 5000 # set-option -g history-limit 50000 # set-option -g lock-after-time 0 # set-option -g lock-command "lock -np" # set-option -g lock-server on # set-option -g message-attr none # set-option -g message-bg yellow # set-option -g message-command-attr none # set-option -g message-command-bg black # set-option -g message-command-fg yellow # set-option -g message-command-style fg=yellow,bg=black # set-option -g message-fg black # set-option -g message-limit 20 # set-option -g message-style fg=black,bg=yellow # set-option -g mouse-resize-pane on # set-option -g mouse-select-pane on # set-option -g mouse-select-window on # set-option -g mouse-utf8 off # set-option -g pane-active-border-bg default # set-option -g pane-active-border-fg green # set-option -g pane-active-border-style fg=green # set-option -g pane-border-bg default # set-option -g pane-border-fg default # set-option -g pane-border-style default # set-option -g prefix M-j # set-option -g prefix2 none # set-option -g renumber-windows off # set-option -g repeat-time 500 # set-option -g set-remain-on-exit off # set-option -g set-titles on # set-option -g set-titles-string "#S:#I:#W - "#T"" # set-option -g status on # set-option -g status-attr none # set-option -g status-bg green # set-option -g status-fg black # set-option -g status-interval 5 # set-option -g status-justify left # set-option -g status-keys emacs # set-option -g status-left "[#S]" # set-option -g status-left-attr none # set-option -g status-left-bg default # set-option -g status-left-fg default # set-option -g status-left-length 10 # set-option -g status-left-style default # set-option -g status-position bottom # set-option -g status-right ""#{=22:pane_title}" %H:%M %d-%b-%y" # set-option -g status-right-attr none # set-option -g status-right-bg default # set-option -g status-right-fg default # set-option -g status-right-length 40 # set-option -g status-right-style default # set-option -g status-style fg=black,bg=green # set-option -g status-utf8 on # set-option -g terminal-overrides "*256col*:colors=256,xterm*:XT:Ms=\E]52;%p1%s;%p2%s\007:Cs=\E]12;%p1%s\007:Cr=\E]112\007:Ss=\E[%p1%d q:Se=\E[2 q,screen*:XT" # set-option -g update-environment "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY" # set-option -g visual-activity off # set-option -g visual-bell off # set-option -g visual-content off # set-option -g visual-silence off # set-option -g word-separators " -_@"