diff options
| author | Skladnayazebra <skladnayazebra@gmail.com> | 2025-11-09 06:49:16 +0100 |
|---|---|---|
| committer | Skladnayazebra <skladnayazebra@gmail.com> | 2025-11-09 06:49:16 +0100 |
| commit | 03c4401825db0eee1a92838ba53df823e55f28f5 (patch) | |
| tree | d87cc216b3811f4714b655978daadba340440b60 /tmux/tmux.conf | |
| parent | 748d118c290a5552b37cf965781551aba1e3c4d2 (diff) | |
Open new tmux windows at the same path
Diffstat (limited to 'tmux/tmux.conf')
| -rw-r--r-- | tmux/tmux.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf index f38245f..2b94e06 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -22,8 +22,9 @@ bind-key l select-pane -R set-window-option -g window-status-current-style 'bg=brightwhite' set-window-option -g window-status-current-format ' #I:#W ' -# open pane splits at the same path as current pane +# open pane splits and windows at the same path as current pane bind '"' split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" +bind "c" new-window -c "#{pane_current_path}" set-window-option -g status-right '#[bg=brightwhite] %H:%M #[default]#($HOME/.config/tmux/battery.sh)' |
