tmux: Fix next/previous window commands
This commit is contained in:
parent
ca071f2f96
commit
e89d20735a
1 changed files with 6 additions and 6 deletions
|
@ -78,8 +78,8 @@ in
|
|||
bind-key e select-pane -U
|
||||
bind-key i select-pane -R
|
||||
|
||||
bind-key -r C-h select-window -t :-
|
||||
bind-key -r C-i select-window -t :+
|
||||
bind-key -r C-h select-window -t previous-window
|
||||
bind-key -r C-i select-window -t next-window
|
||||
|
||||
bind-key -r H resize-pane -L 5
|
||||
bind-key -r N resize-pane -D 5
|
||||
|
@ -89,10 +89,10 @@ in
|
|||
bind-key C-[ swap-window -t -1
|
||||
bind-key C-] swap-window -t +1
|
||||
|
||||
bind-key -T copy-mode-vi h send-keys -X cursor-left
|
||||
bind-key -T copy-mode-vi n send-keys -X cursor-down
|
||||
bind-key -T copy-mode-vi e send-keys -X cursor-up
|
||||
bind-key -T copy-mode-vi i send-keys -X cursor-right
|
||||
bind-key -T copy-mode-vi h send-keys -X cursor-left
|
||||
bind-key -T copy-mode-vi n send-keys -X cursor-down
|
||||
bind-key -T copy-mode-vi e send-keys -X cursor-up
|
||||
bind-key -T copy-mode-vi i send-keys -X cursor-right
|
||||
|
||||
set -g mouse on
|
||||
bind-key -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
|
||||
|
|
Loading…
Reference in a new issue