tmux: split/new window in the same working directory
This commit is contained in:
parent
535ce60285
commit
2e76f1d7c0
1 changed files with 5 additions and 2 deletions
|
@ -29,8 +29,11 @@ bind -n C-M-l resize-pane -R
|
||||||
# Splitting
|
# Splitting
|
||||||
unbind %
|
unbind %
|
||||||
unbind '"'
|
unbind '"'
|
||||||
bind | split-window -h
|
bind | split-window -h -c "#{pane_current_path}"
|
||||||
bind - split-window -v
|
bind - split-window -v -c "#{pane_current_path}"
|
||||||
|
|
||||||
|
# New windows use the same working directory
|
||||||
|
bind c new-window -c "#{pane_current_path}"
|
||||||
|
|
||||||
# Set window notifications
|
# Set window notifications
|
||||||
setw -g monitor-activity on
|
setw -g monitor-activity on
|
||||||
|
|
Loading…
Reference in a new issue