keep cwd when creating new windows, panes in tmux
This commit is contained in:
parent
ebb7e80861
commit
bcc4f9cafe
1 changed files with 5 additions and 0 deletions
|
@ -35,4 +35,9 @@ bind-key -T copy-mode-vi C-k select-pane -U
|
|||
bind-key -T copy-mode-vi C-l select-pane -R
|
||||
bind-key -T copy-mode-vi 'C-\' select-pane -l
|
||||
|
||||
# Set new panes to open in current directory
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
|
Loading…
Reference in a new issue