tmux: split/new window in the same working directory

This commit is contained in:
Théophile Bastian 2017-05-30 16:31:15 +02:00
parent 535ce60285
commit 2e76f1d7c0
1 changed files with 5 additions and 2 deletions

View File

@ -29,8 +29,11 @@ bind -n C-M-l resize-pane -R
# Splitting
unbind %
unbind '"'
bind | split-window -h
bind - split-window -v
bind | split-window -h -c "#{pane_current_path}"
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
setw -g monitor-activity on