diff --git a/home-manager/modules/tmux/default.nix b/home-manager/modules/tmux/default.nix index 2d31b25..211c0c4 100644 --- a/home-manager/modules/tmux/default.nix +++ b/home-manager/modules/tmux/default.nix @@ -69,8 +69,9 @@ in bind-key C-a send-prefix - bind-key | split-window -h - bind-key - split-window -v + bind-key | split-window -h -c "#{pane_current_path}" + bind-key - split-window -v -c "#{pane_current_path}" + bind-key c new-window -c "#{pane_current_path}" bind-key h select-pane -L bind-key n select-pane -D