Consolidate tmux window and pane switching
This commit is contained in:
@@ -23,11 +23,11 @@ in
|
||||
unbind S
|
||||
bind S command-prompt "switch -t %1"
|
||||
|
||||
bind-key -n M-K switch-client -p
|
||||
bind-key -n M-J switch-client -n
|
||||
bind-key -n M-K if -F "#{pane_at_top}" "switch-client -p" "select-pane -U"
|
||||
bind-key -n M-J if -F "#{pane_at_bottom}" "switch-client -n" "select-pane -D"
|
||||
|
||||
bind-key -n M-L next-window
|
||||
bind-key -n M-H previous-window
|
||||
bind-key -n M-L if -F "#{pane_at_right}" "next-window" "select-pane -R"
|
||||
bind-key -n M-H if -F "#{pane_at_left}" "previous-window" "select-pane -L"
|
||||
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
Reference in New Issue
Block a user