|
|
@ -39,18 +39,14 @@ unbind % |
|
|
|
unbind '"' |
|
|
|
unbind '"' |
|
|
|
bind + split-window -h # horizontal split |
|
|
|
bind + split-window -h # horizontal split |
|
|
|
bind - split-window -v # vertical split |
|
|
|
bind - split-window -v # vertical split |
|
|
|
bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L" |
|
|
|
bind -r h run "tmux select-pane -L" |
|
|
|
bind -n C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D" |
|
|
|
bind -r j run "tmux select-pane -D" |
|
|
|
bind -n C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U" |
|
|
|
bind -r k run "tmux select-pane -U" |
|
|
|
bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R" |
|
|
|
bind -r l run "tmux select-pane -R" |
|
|
|
bind -r C-h run "tmux select-pane -L" |
|
|
|
bind -r Down resize-pane -D 2 |
|
|
|
bind -r C-j run "tmux select-pane -D" |
|
|
|
bind -r Up resize-pane -U 2 |
|
|
|
bind -r C-k run "tmux select-pane -U" |
|
|
|
bind -r Left resize-pane -L 2 |
|
|
|
bind -r C-l run "tmux select-pane -R" |
|
|
|
bind -r Right 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 b command-prompt -p "create pane from:" "join-pane -s ':%%'" |
|
|
|
bind-key v command-prompt -p "send pane to:" "join-pane -t ':%%'" |
|
|
|
bind-key v command-prompt -p "send pane to:" "join-pane -t ':%%'" |
|
|
|
|
|
|
|
|
|
|
|