# ===================================================================== # 1. PRIMARY PREFIX KEY # ===================================================================== # Change default prefix from Ctrl+b to Ctrl+Space (Ergonomic Home Row) unbind C-b set -g prefix C-Space bind C-Space send-prefix # ===================================================================== # 2. INTUITIVE PANE SPLITTING (Vim Style) # ===================================================================== unbind '"' unbind % # v splits top-and-bottom bind v split-window -v -c "#{pane_current_path}" # b splits side-by-side bind b split-window -h -c "#{pane_current_path}" # ===================================================================== # 3. PANE NAVIGATION (hjkl Movement) # ===================================================================== bind h select-pane -L # Focus left pane bind j select-pane -D # Focus down pane bind k select-pane -U # Focus up pane bind l select-pane -R # Focus right pane # ===================================================================== # 4. MOUSE SUPPORT # ===================================================================== # Enable mouse (scrolling, clicking panes/tabs) set -g mouse on # ===================================================================== # 5. QUALITY OF LIFE SETTINGS # ===================================================================== # Start window and pane numbering at 1 (more natural than 0) set -g base-index 1 set -g pane-base-index 1 # Increase scrollback buffer (default 2000 is too low) set -g history-limit 10000 # Eliminate Esc delay (important for Vim inside tmux) set -sg escape-time 0 # Re-number windows sequentially when one is closed set -g renumber-windows on # Reload config file shortcut (Ctrl+Space then r) bind r source-file ~/.tmux.conf \; display "Config Reloaded!"