tmux config
This commit is contained in:
27
dot_tmux.conf
Normal file
27
dot_tmux.conf
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# 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
|
||||||
Reference in New Issue
Block a user