From 3ab35d8931eb1c92e6df36df4c93e154f6a0c62a Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Wed, 24 Jul 2024 08:10:00 -0400 Subject: [PATCH] New tmux windows open to the current panes dir --- tmux/.config/tmux/tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index 57d8175..c1fb099 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -19,6 +19,10 @@ bind j select-pane -D bind k select-pane -U bind l select-pane -R +bind '"' split-window -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" +bind c new-window -c "#{pane_current_path}" + bind-key -r -T prefix C-k resize-pane -U 5 bind-key -r -T prefix C-j resize-pane -D 5 bind-key -r -T prefix C-h resize-pane -L 5