New panes in tmux open in same dir as one opening it
This commit is contained in:
parent
b2ba936a85
commit
855b161953
@ -13,6 +13,10 @@ set-window-option -g mode-keys vi
|
||||
bind-key -t vi-copy v begin-selection
|
||||
bind-key -t vi-copy y copy-pipe 'xclip -selection clipboard'
|
||||
|
||||
# New panes and windows have same cwd as the one opening it
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
### vim/tmux navigation
|
||||
set -g focus-events on
|
||||
|
Loading…
Reference in New Issue
Block a user