From 1d339871e72686707d866013821f2b5ab5d735b4 Mon Sep 17 00:00:00 2001 From: desktop Date: Wed, 8 Nov 2023 02:59:01 +0300 Subject: [PATCH] tmux : create new windows in the same dir. --- .tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index af81899..fecbbff 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -25,8 +25,8 @@ bind -n M-s select-pane -D bind -n M-c kill-pane # create new window. -bind -n M-Escape new-window -bind -n M-t new-window # NOTE: for compatibility with Termux as it does not support yet. +bind -n M-Escape new-window -c "#{pane_current_path}" +bind -n M-t new-window -c "#{pane_current_path}" # NOTE: for compatibility with Termux as it does not support yet. # close window. bind -n M-x kill-window