From c0b519ed254e587dc170a1cca8a9444f852de2a2 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 24 Dec 2021 02:57:30 +0100 Subject: [PATCH] Tmux will now open splits and windows with the same path --- tmux/.tmux.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index c63f30a..aa90a3d 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -18,7 +18,9 @@ bind -n M-j if-shell "$is_vim" "send-keys M-j" "select-pane -D" bind -n M-k if-shell "$is_vim" "send-keys M-k" "select-pane -U" bind -n M-l if-shell "$is_vim" "send-keys M-l" "select-pane -R" -bind -n C-j new-window +bind '"' split-window -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" +bind -n C-j new-window -c "#{pane_current_path}" bind -n C-h prev bind -n C-l next bind -n C-M-l swap-window -t +1 \; next