Skip to content

Instantly share code, notes, and snippets.

@Ivoah
Created June 26, 2019 18:26
Show Gist options
  • Save Ivoah/7266d0a19c3356852a3a4cef22a9949d to your computer and use it in GitHub Desktop.
Save Ivoah/7266d0a19c3356852a3a4cef22a9949d to your computer and use it in GitHub Desktop.
tmux configuration
# Change PREFIX to C-a
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# Move around panes with vim keys
bind j select-pane -D
bind k select-pane -U
bind h select-pane -L
bind l select-pane -R
# Sane window splitting bindings
bind | split-window -h
bind - split-window -v
# Vim like resizing
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r H resize-pane -L 5
bind -r L resize-pane -R 5
# Mouse support
set -g mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment