Update tmux to preserve PWD on splits/new windows

This commit is contained in:
Tony Blyler 2022-05-30 23:02:59 -04:00
parent 364611964c
commit 2d61e28ca9
Signed by: tblyler
GPG key ID: 7F13D9A60C0D678E
2 changed files with 6 additions and 1 deletions

View file

@ -118,6 +118,11 @@ bind -r J resize-pane -D 2
bind -r K resize-pane -U 2
bind -r L resize-pane -R 2
# window/pane creation, retain PWD
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind P paste
## } Navigation