Archived
1
0
Fork 0
This repository has been archived on 2024-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/simpleDots/tmux.conf
2023-01-05 15:50:42 +01:00

26 lines
626 B
Bash

## 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}"