From 97db2ac1f61dbe96964f16386edfe2ec1cc1c163 Mon Sep 17 00:00:00 2001 From: Jason Barnett Date: Tue, 21 May 2024 09:41:13 -0600 Subject: [PATCH] fix tmux split-window bindings --- tmux/tmux.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index bf1c96c263..128b6ab726 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -8,10 +8,10 @@ set -g default-terminal screen-256color bind-key ^D detach-client # Create splits and vertical splits -bind-key v split-window -h -p 50 -c "#{pane_current_path}" -bind-key ^V split-window -h -p 50 -c "#{pane_current_path}" -bind-key s split-window -p 50 -c "#{pane_current_path}" -bind-key ^S split-window -p 50 -c "#{pane_current_path}" +bind-key v split-window -h -l 50% -c "#{pane_current_path}" +bind-key ^V split-window -h -l 50% -c "#{pane_current_path}" +bind-key s split-window -l 50% -c "#{pane_current_path}" +bind-key ^S split-window -l 50% -c "#{pane_current_path}" # Pane resize in all four directions using vi bindings. # Can use these raw but I map them to shift-ctrl- in iTerm.