1
0
Files
dotfiles/dot_tmux.conf
2023-06-28 21:37:40 +03:00

28 lines
664 B
Plaintext

# interferes with terminal mouse usage
# set -g mouse-select-window on
# set -g mouse-select-pane on
set-window-option -g xterm-keys on
set -sg escape-time 0
# start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# prefix key
unbind C-b
set-option -g prefix C-space
bind C-space send-prefix
# use Alt-arrow keys without prefix key 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