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 K resize-pane -U 2
bind -r L resize-pane -R 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 bind P paste
## } Navigation ## } Navigation

View file

@ -6,7 +6,7 @@ gtk-cursor-theme-size=24
gtk-decoration-layout=icon:minimize,maximize,close gtk-decoration-layout=icon:minimize,maximize,close
gtk-enable-animations=true gtk-enable-animations=true
gtk-font-name=Noto Sans, 10 gtk-font-name=Noto Sans, 10
gtk-icon-theme-name=breeze gtk-icon-theme-name=breeze-dark
gtk-menu-images=true gtk-menu-images=true
gtk-modules=colorreload-gtk-module gtk-modules=colorreload-gtk-module
gtk-primary-button-warps-slider=false gtk-primary-button-warps-slider=false