commit 8ef8285c610b072e4b0c0c414265fedcde9a1e2a
parent 0618a41697ee823d52a2a6bf5c6b23ce6f3b6722
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Thu, 28 May 2026 09:22:52 +0200
Rebind : and open new panes in current path
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -5,8 +5,9 @@ unbind -a -T root
# Custom bindings
set -g prefix C-f
bind-key -n C-f send-prefix
-bind-key \' split-window -v
-bind-key \; split-window -h
+bind-key f command-prompt
+bind-key \' split-window -v -c "#{pane_current_path}"
+bind-key \; split-window -h -c "#{pane_current_path}"
bind-key l select-pane -R
bind-key C-l resize-pane -R
bind-key h select-pane -L