diff --git a/simpleDots/tmux.conf b/simpleDots/tmux.conf new file mode 100644 index 0000000..02055d2 --- /dev/null +++ b/simpleDots/tmux.conf @@ -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}"