Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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 %
- # reload config file (change file location to your the tmux.conf you want to use)
- bind r source-file ~/.tmux.conf
- # switch panes using Alt-arrow without prefix
- bind -n M-Left select-pane -L
- bind -n M-Right select-pane -R
- bind -n M-Up select-pane -U
- bind -n M-Down select-pane -D
- # Enable mouse mode (tmux 2.1 and above)
- set -g mouse on
- set -g base-index 1
- set -s escape-time 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement