Skip to content

Instantly share code, notes, and snippets.

@PastNullInfinity
Created May 2, 2023 19:00
Show Gist options
  • Save PastNullInfinity/8c3d61371e5ba607edbb18e14485edaa to your computer and use it in GitHub Desktop.
Save PastNullInfinity/8c3d61371e5ba607edbb18e14485edaa to your computer and use it in GitHub Desktop.
Sane(r) tmux configuration (requires tpm)
# Saner leader chord
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Saner split commands
bind v split-window -h
bind h 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment