Archived
1
0
Fork 0

Add tmux.conf

This commit is contained in:
J. Elfring (i) 2023-01-05 15:50:42 +01:00
parent b5cb8d874d
commit 349f36d8ac

26
simpleDots/tmux.conf Normal file
View file

@ -0,0 +1,26 @@
## Use C-a as prefix and keep C-b for compatibility
set-option -g prefix C-a
set-option -g prefix2 C-b
## Enable mouse support
set -g mouse on
## 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
## Reload on C-a r
bind r source-file ~/.tmux.conf
## split panes using h and v
bind h split-window -h
bind v split-window -v
unbind '"'
unbind %
## Sync all panes to the current one
bind-key s set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized,on,off}"