Tmux : Use shift with splits to auto resize.

This commit is contained in:
Dmitry Voronin 2024-08-29 21:01:07 +03:00
parent f962ed0fce
commit c47aeede7d
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -12,7 +12,8 @@ in {
bind -n ${mod}-\\ split-window -h -c "#{pane_current_path}" bind -n ${mod}-\\ split-window -h -c "#{pane_current_path}"
bind -n ${mod}-- split-window -v -c "#{pane_current_path}" bind -n ${mod}-- split-window -v -c "#{pane_current_path}"
bind -n ${mod}-= select-layout tiled bind -n ${mod}-= select-layout tiled
bind -n ${mod}-+ select-layout even-vertical bind -n ${mod}-_ select-layout even-vertical
bind -n ${mod}-| select-layout even-horizontal
bind -n ${mod}-k resize-pane -U ${toString stepVertical} bind -n ${mod}-k resize-pane -U ${toString stepVertical}
bind -n ${mod}-j resize-pane -D ${toString stepVertical} bind -n ${mod}-j resize-pane -D ${toString stepVertical}
bind -n ${mod}-h resize-pane -L ${toString stepHorizontal} bind -n ${mod}-h resize-pane -L ${toString stepHorizontal}