a guest Apr 19th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- setw -g mode-keys vi
- # 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 3 split-window -h
- bind 2 split-window -v
- unbind '"'
- unbind %
- # Enable mouse mode (tmux 2.1 and above)
- set -g mouse on
- # switch panes using Alt-arrow without prefix
- bind -n M-S-Left select-pane -L
- bind -n M-S-Right select-pane -R
- bind -n M-S-Up select-pane -U
- bind -n M-S-Down select-pane -D
- # enter copy mode
- bind v copy-mode
RAW Paste Data