diff options
| author | Cryxtalix <fgx8p9t@protonmail.com> | 2024-11-13 04:47:34 +0800 |
|---|---|---|
| committer | Cryxtalix <fgx8p9t@protonmail.com> | 2024-11-13 04:47:34 +0800 |
| commit | c51520da989e5658d04c2dc7ca163f63d20b1a13 (patch) | |
| tree | 909915ef75d9f436d5ebcd84e066c6244ab6a2a0 /.config/tmux | |
| parent | dc839e971ad6a724bc99bccc6dfaa11ee8a1eaa9 (diff) | |
Update
Diffstat (limited to '.config/tmux')
| -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' |
