Skip to content

Instantly share code, notes, and snippets.

@TheBigRoomXXL
Created April 5, 2024 11:34
Show Gist options
  • Save TheBigRoomXXL/ff0018981f4d130de42291f4ac39a2f2 to your computer and use it in GitHub Desktop.
Save TheBigRoomXXL/ff0018981f4d130de42291f4ac39a2f2 to your computer and use it in GitHub Desktop.
Minimal tmux config
# Colors
set -g default-terminal "screen-256color"
# New prefix
set-option -g prefix C-b
set-option -g prefix C-q
# Enable mouse
set -g mouse on
# Sane split controls
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
# More visible active panel
set -g pane-border-lines "double"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment