Skip to content

Instantly share code, notes, and snippets.

@maxidl
Last active February 24, 2020 23:33
Show Gist options
  • Save maxidl/9cbce72b6c2830613cc3485413caca3c to your computer and use it in GitHub Desktop.
Save maxidl/9cbce72b6c2830613cc3485413caca3c 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
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# Enable mouse control (clickable windows, panes, resizable panes) working on v1.8
#set -g mouse-select-window on
#set -g mouse-select-pane on
#set -g mouse-resize-pane on
#set -g mode-mouse on
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment