# Core Developer - Tmux Configuration # Use Ctrl-a as prefix (like screen) set -g prefix C-a unbind C-b bind C-a send-prefix # Enable mouse support set -g mouse on # Start windows and panes at 1 set -g base-index 1 setw -g pane-base-index 1 # Renumber windows on close set -g renumber-windows on # Increase history set -g history-limit 50000 # Enable 256 colors set -g default-terminal "screen-256color" set -ga terminal-overrides ",*256col*:Tc" # Faster escape time set -sg escape-time 0 # Split panes with | and - bind | split-window -h -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}" # Navigate panes with vim keys bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R # Resize panes bind -r H resize-pane -L 5 bind -r J resize-pane -D 5 bind -r K resize-pane -U 5 bind -r L resize-pane -R 5 # Reload config bind r source-file ~/.tmux.conf \; display "Config reloaded!" # Status bar set -g status-style bg=default,fg=white set -g status-left "#[fg=cyan]#S " set -g status-right "#[fg=yellow]%H:%M" set -g status-left-length 20 # Window status setw -g window-status-current-style fg=cyan,bold setw -g window-status-style fg=white # Pane borders set -g pane-border-style fg=colour238 set -g pane-active-border-style fg=cyan # Activity monitoring setw -g monitor-activity on set -g visual-activity off # Use zsh set -g default-shell /bin/zsh