############################################################### # File: .bashrc_local # jul.io ############################################################### # I want 256 colors everywhere set -g default-terminal "xterm-256color" # C-b is not acceptable - VIM uses it set-option -g prefix C-a # bind-key C-a last-window #Start numbering at 1 set -g base-index 1 #Rather than constraining window size to the maximum size of any client connected the session, #constrain window size to the maximum size of any client connected to that window. setw -g aggressive-resize on # Allows us to use C-a a to send commands to a TMUX session insisde another TMUX session bind-key a send-prefix #set -s escape-time 0 # Highlight active window set-window-option -g window-status-current-bg red #split panes using | and - bind | split-window -h bind - split-window -v unbind '"' unbind % # switch panes using Alt-arrow without prefix 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 # set -g mouse on # don't rename windows automatically set-option -g allow-rename off