From c47aeede7da87943346d2ca9e9bda3cc0e202e56 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 29 Aug 2024 21:01:07 +0300 Subject: [PATCH] Tmux : Use shift with splits to auto resize. --- home/config/tmux/module/Split.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/config/tmux/module/Split.nix b/home/config/tmux/module/Split.nix index 40633e0e..c6e951f8 100644 --- a/home/config/tmux/module/Split.nix +++ b/home/config/tmux/module/Split.nix @@ -12,7 +12,8 @@ in { bind -n ${mod}-\\ split-window -h -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 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}-j resize-pane -D ${toString stepVertical} bind -n ${mod}-h resize-pane -L ${toString stepHorizontal}