From 2d61e28ca949d76e813953a350813aeb0d2203b5 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Mon, 30 May 2022 23:02:59 -0400 Subject: [PATCH] Update tmux to preserve PWD on splits/new windows --- chezmoi/dot_tmux.conf | 5 +++++ .../private_dot_config/private_gtk-3.0/private_settings.ini | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/chezmoi/dot_tmux.conf b/chezmoi/dot_tmux.conf index 84bd630..5ed342a 100644 --- a/chezmoi/dot_tmux.conf +++ b/chezmoi/dot_tmux.conf @@ -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 diff --git a/chezmoi/private_dot_config/private_gtk-3.0/private_settings.ini b/chezmoi/private_dot_config/private_gtk-3.0/private_settings.ini index 71e6413..4a77b14 100644 --- a/chezmoi/private_dot_config/private_gtk-3.0/private_settings.ini +++ b/chezmoi/private_dot_config/private_gtk-3.0/private_settings.ini @@ -6,7 +6,7 @@ gtk-cursor-theme-size=24 gtk-decoration-layout=icon:minimize,maximize,close gtk-enable-animations=true gtk-font-name=Noto Sans, 10 -gtk-icon-theme-name=breeze +gtk-icon-theme-name=breeze-dark gtk-menu-images=true gtk-modules=colorreload-gtk-module gtk-primary-button-warps-slider=false