aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-12-22 09:55:48 -0300
committerEuAndreh <eu@euandre.org>2025-12-22 09:55:48 -0300
commita4c6a5a8b379b385cc1f091fb04f961b196c6ffc (patch)
tree43f627b2e6f353062baed4bb55c4ea42bf4b44a3
parentetc/sh/rc: Add explicit umask value (diff)
downloaddotfiles-a4c6a5a8b379b385cc1f091fb04f961b196c6ffc.tar.gz
dotfiles-a4c6a5a8b379b385cc1f091fb04f961b196c6ffc.tar.xz
etc/tmux/tmux.conf: Use the same working directory when splitting windows
-rw-r--r--etc/tmux/tmux.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/tmux/tmux.conf b/etc/tmux/tmux.conf
index 93101cd..53fee2b 100644
--- a/etc/tmux/tmux.conf
+++ b/etc/tmux/tmux.conf
@@ -83,6 +83,8 @@ set -g display-panes-time 2500
bind-key t resize-pane -x 80
bind -n M-r attach-session -t . -c '#{pane_current_path}' \; display-message "CWD for session updated to #{pane_current_path}!"
+bind '"' split-window -c "#{pane_current_path}"
+bind % split-window -h -c "#{pane_current_path}"
bind-key u capture-pane \; save-buffer $XDG_RUNTIME_DIR/tmux-urlscan-buffer \; new-window -n "urlscan" '$SHELL -c "urlscan < $XDG_RUNTIME_DIR/tmux-urlscan-buffer"'
bind-key - last