# change the prefix from 'C-b' to 'M-a' unbind C-b set-option -g prefix M-a bind-key M-a send-prefix # start with window 1 (instead of 0) set -g base-index 1 # start with pane 1 set -g pane-base-index 1 # split panes using | and -, make sure they open in the same path bind | split-window -h -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}" unbind '"' unbind % # open new windows in the current path bind c new-window -c "#{pane_current_path}" # reload config file bind r source-file ~/.tmux.conf unbind p bind p previous-window # shorten command delay set -sg escape-time 1 # don't rename windows automatically set-option -g allow-rename off # mouse control (clickable windows, panes, resizable panes) set -g mouse on set -g focus-events on # Use Alt-arrow keys without prefix key to switch panes 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 default terminal mode to 256 colors # set -g default-terminal "screen-256color" # set default terminal mode to 256 colors set-option -g default-terminal "tmux-256color" set-option -sa terminal-overrides ',tmux-256color:RGB' # Status Bar Colors set-option -g status-attr dim set-option -g status-bg colour237 # slightly brighter than molokai vim tabs set-option -g status-fg colour187 # monokai yellow # Window Title Tab Colors set-window-option -g window-status-attr dim set-window-option -g window-status-bg colour237 # brighter gray set-window-option -g window-status-fg colour187 # monokai yellow set-window-option -g window-status-current-attr dim #set-window-option -g window-status-current-bg colour161 # monokai pink #set-window-option -g window-status-current-fg '#000000' set-window-option -g window-status-current-bg '#000000' set-window-option -g window-status-current-fg colour161 # monokai pink # Pane Border Colors set-option -g pane-active-border-bg '#101010' set-option -g pane-active-border-fg '#87d700' # monokai-green set-option -g pane-border-bg '#101010' set-option -g pane-border-fg '#505050' # TODO: Not sure what these are. set-option -g mode-bg '#000000' set-option -g mode-fg colour187 # monokai yellow set-option -g message-bg '#000000' set-option -g message-fg colour187 # monokai yel # Plugins run-shell '~/.tmux/plugins/tmux-resurrect/resurrect.tmux' run-shell '~/.tmux/plugins/tmux-continuum/continuum.tmux' run-shell '~/.tmux/plugins/tmux-yank/yank.tmux' run-shell '~/.tmux/plugins/tmux-copycat/copycat.tmux' run-shell '~/.tmux/plugins/tmux-open/open.tmux' set -g @continuum-restore 'on'