Added to tmux.conf that when a new pane is created, its in the same working directory! So clutch.
This commit is contained in:
@ -18,6 +18,17 @@ set -g focus-events on
|
||||
# enable mouse support
|
||||
set-option -g mouse on
|
||||
|
||||
# Open Pane in same working directory
|
||||
# Set the control character to Ctrl+Spacebar (instead of Ctrl+B)
|
||||
set -g prefix C-b
|
||||
unbind-key C-space
|
||||
bind-key C-b send-prefix
|
||||
|
||||
# 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}"
|
||||
|
||||
# Vim-Tmux-Navigator plugin/
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user