[feature] switch window after swap

This commit is contained in:
Klesh Wong 2020-05-17 16:58:08 +08:00
parent dbe5d54808
commit b7b34df0c1

View File

@ -43,8 +43,8 @@ bind -n M-8 select-window -t :=8
bind -n M-9 select-window -t :=9 bind -n M-9 select-window -t :=9
bind -n M-n next-window bind -n M-n next-window
bind -n M-p previous-window bind -n M-p previous-window
bind -n M-N swap-window -t +1 bind -n M-N swap-window -t +1 \; next-window
bind -n M-P swap-window -t -1 bind -n M-P swap-window -t -1 \; previous-window
bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf" bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf"
bind -n M-[ copy-mode bind -n M-[ copy-mode
bind -n M-] paste-buffer bind -n M-] paste-buffer