Skip to content

Instantly share code, notes, and snippets.

@iamriel
Created January 9, 2021 06:55
Show Gist options
  • Save iamriel/bc34bcd016d2b9961ea59bf6889ff228 to your computer and use it in GitHub Desktop.
Save iamriel/bc34bcd016d2b9961ea59bf6889ff228 to your computer and use it in GitHub Desktop.
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
# source .tmux.conf file
bind r source-file ~/.tmux.conf \; display "Configuration Reloaded!"
# Allow mouse interaction
set-option -g mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment