Skip to content

Instantly share code, notes, and snippets.

@joeydotdev
Created June 2, 2021 21:23
Show Gist options
  • Save joeydotdev/38695bd78461f3e166155e04531763f3 to your computer and use it in GitHub Desktop.
Save joeydotdev/38695bd78461f3e166155e04531763f3 to your computer and use it in GitHub Desktop.
set -s escape-time 0
# Set prefix to space
unbind C-b
set -g prefix C-space
# Change vertical / horizontal splits
bind | split-window -h
bind - split-window -v
# Pane Movement
unbind h
bind h select-pane -L
unbind j
bind j select-pane -D
unbind k
bind k select-pane -U
unbind l # normally used for last-window
bind l select-pane -R
# Resizing
unbind Left
bind -r Left resize-pane -L 5
unbind Right
bind -r Right resize-pane -R 5
unbind Down
bind -r Down resize-pane -D 5
unbind Up
bind -r Up resize-pane -U 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment