Add tmux.conf
This commit is contained in:
parent
b5cb8d874d
commit
349f36d8ac
1 changed files with 26 additions and 0 deletions
26
simpleDots/tmux.conf
Normal file
26
simpleDots/tmux.conf
Normal 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}"
|
Reference in a new issue