aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-03-25 18:20:56 -0300
committerEuAndreh <eu@euandre.org>2022-03-25 18:20:56 -0300
commit8bd8006757f2d1807d22f028d9400f524526dd49 (patch)
tree6128087327661b190e70f5c12b2458fa961e2507
parentvcs/gitconfig.ini: Enable commit verbose mode by default (diff)
downloaddotfiles-8bd8006757f2d1807d22f028d9400f524526dd49.tar.gz
dotfiles-8bd8006757f2d1807d22f028d9400f524526dd49.tar.xz
tmux.conf: Add keybinding to set the root on the current session
-rw-r--r--tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
index 8dd08b27..33a5e485 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -80,3 +80,6 @@ set -g display-panes-time 2500
bind-key u capture-pane \; save-buffer /tmp/tmux-urlscan-buffer \; new-window -n "urlscan" '$SHELL -c "urlscan < /tmp/tmux-urlscan-buffer"'
bind-key t resize-pane -x 80
+
+
+bind -n M-u attach-session -t . -c '#{pane_current_path}' \; display-message "CWD for session updated to #{pane_current_path}!"