mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-23 07:39:36 +01:00
Focus on the current split when zoomed
This commit is contained in:
parent
6cd63335d4
commit
dbbe45f3a7
16
.tmux.conf
16
.tmux.conf
@ -79,8 +79,20 @@ set -g default-terminal "screen-256color"
|
|||||||
bind C-l send-keys 'C-l'
|
bind C-l send-keys 'C-l'
|
||||||
|
|
||||||
# use <prefix> j for zooming the current pane
|
# use <prefix> j for zooming the current pane
|
||||||
bind-key j resize-pane -Z
|
bind-key j if-shell "$is_vim" {
|
||||||
bind-key C-j resize-pane -Z
|
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
|
unbind z
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user