diff --git a/.tmux.conf b/.tmux.conf index 556c014..b3259ca 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -79,8 +79,20 @@ set -g default-terminal "screen-256color" bind C-l send-keys 'C-l' # use j for zooming the current pane -bind-key j resize-pane -Z -bind-key C-j resize-pane -Z +bind-key j if-shell "$is_vim" { + resize-pane -Z + send-keys C-w = +} { + resize-pane -Z + } + + +bind-key C-j if-shell "$is_vim" { + resize-pane -Z + send-keys C-w = +} { + resize-pane -Z + } unbind z