|
|
|
@ -31,8 +31,8 @@ bind Escape copy-mode |
|
|
|
|
set -s escape-time 50 |
|
|
|
|
|
|
|
|
|
# switch windows |
|
|
|
|
bind -r C-j previous-window |
|
|
|
|
bind -r C-k next-window |
|
|
|
|
bind -r j previous-window |
|
|
|
|
bind -r k next-window |
|
|
|
|
|
|
|
|
|
# splitting |
|
|
|
|
unbind % |
|
|
|
@ -43,10 +43,10 @@ bind -n C-h run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux |
|
|
|
|
bind -n C-j run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D" |
|
|
|
|
bind -n C-k run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U" |
|
|
|
|
bind -n C-l run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R" |
|
|
|
|
bind -r j resize-pane -D 2 |
|
|
|
|
bind -r k resize-pane -U 2 |
|
|
|
|
bind -r h resize-pane -L 2 |
|
|
|
|
bind -r l resize-pane -R 2 |
|
|
|
|
bind -r C-Down resize-pane -D 2 |
|
|
|
|
bind -r C-Up resize-pane -U 2 |
|
|
|
|
bind -r C-Left resize-pane -L 2 |
|
|
|
|
bind -r C-Right resize-pane -R 2 |
|
|
|
|
bind-key b command-prompt -p "create pane from:" "join-pane -s ':%%'" |
|
|
|
|
bind-key v command-prompt -p "send pane to:" "join-pane -t ':%%'" |
|
|
|
|
|
|
|
|
|