mirror of https://github.com/chatton/dotfiles
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
547 B
Plaintext
25 lines
547 B
Plaintext
# Send prefix
|
|
set-option -g prefix C-a
|
|
unbind-key C-a
|
|
bind-key C-a send-prefix
|
|
|
|
# Use Alt-arrow keys to switch panes
|
|
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
|
|
|
|
# Shift arrow to switch windows
|
|
bind -n S-Left previous-window
|
|
bind -n S-Right next-window
|
|
|
|
# Mouse mode
|
|
setw -g mouse on
|
|
|
|
# Set easier window split keys
|
|
bind-key v split-window -h
|
|
bind-key h split-window -v
|
|
|
|
# Easy config reload
|
|
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
|