From fecffe14aa3ac93742331c6925711b72360b6b5b Mon Sep 17 00:00:00 2001 From: Harouna Traore Date: Thu, 11 Feb 2021 09:08:15 +0000 Subject: [PATCH] open tmux new window on the same directory --- terminal/tmux/tmux.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/terminal/tmux/tmux.conf b/terminal/tmux/tmux.conf index 347652b..eb8d675 100644 --- a/terminal/tmux/tmux.conf +++ b/terminal/tmux/tmux.conf @@ -21,6 +21,7 @@ setw -g mode-keys vi set -sg escape-time 10 # open split in current directory +bind c new-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" bind '"' split-window -v -c "#{pane_current_path}"