diff options
Diffstat (limited to '.config/tmux/tmux.conf')
| -rw-r--r-- | .config/tmux/tmux.conf | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index fae79a3..42a44b4 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -16,26 +16,26 @@ set -g mouse on # Prefix key to Ctrl-Space unbind C-b -set-option -g prefix C-Space -bind C-Space send-prefix +set-option -g prefix M-Space +bind M-Space send-prefix # Prefix-v/h to create panes bind v split-window -h bind h split-window -v # Alt-arrow 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 +bind -n M-h select-pane -L +bind -n M-l select-pane -R +bind -n M-k select-pane -U +bind -n M-j select-pane -D # Ctrl-arrow to switch windows -bind -n C-Left previous-window -bind -n C-Right next-window +bind -n C-h previous-window +bind -n C-l next-window # Ctrl-Shift-arrow to change window order -bind -n C-S-Left swap-window -t -1 \; previous-window -bind -n C-S-Right swap-window -t +1 \; next-window +bind -n C-S-h swap-window -t -1 \; previous-window +bind -n C-S-l swap-window -t +1 \; next-window # Synchronize panes -bind-key s set-window-option synchronize-panes\; display-message "Synchronize mode on" +set -s command-alias[100] 'sync=set-window-option synchronize-panes' |
