Update tmux to preserve PWD on splits/new windows
This commit is contained in:
parent
364611964c
commit
2d61e28ca9
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue