commit 0db7f31f6d9f41bb7cae9793a272770469c79dcc
parent 4209461ae833b5156035e5a0aa3c938fd9869552
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 2 Aug 2022 20:33:39 +0200
tmux: open new window with current path
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tmux/tmux-dark.conf b/tmux/tmux-dark.conf
@@ -67,6 +67,7 @@ bind C-d detach-client
# Create a new session
bind C new-session
+bind c new-window -c "#{pane_current_path}"
# Tmux clipboard to system clipboard
bind Y run-shell "tmux show-buffer | clc" \; display-message "Tmux clipboard -> System clipboard"
diff --git a/tmux/tmux-light.conf b/tmux/tmux-light.conf
@@ -66,6 +66,7 @@ bind C-d detach-client
# Create a new session
bind C new-session
+bind c new-window -c "#{pane_current_path}"
# Tmux clipboard to system clipboard
bind Y run-shell "tmux show-buffer | clc" \; display-message "Tmux clipboard -> System clipboard"