Skip to content

Instantly share code, notes, and snippets.

@davidlamt
Created August 11, 2018 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidlamt/444ad0d60a09a9a3e10a58a4ce884531 to your computer and use it in GitHub Desktop.
Save davidlamt/444ad0d60a09a9a3e10a58a4ce884531 to your computer and use it in GitHub Desktop.
David's current tmux configurations.
# Remap prefix 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# Switch panes using Alt-arrow without prefix
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind -n M-j select-pane -D
bind -n M-k select-pane -U
# Source status line configurations
source-file ~/.tmuxline.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment