Added to tmux.conf that when a new pane is created, its in the same working directory! So clutch.

This commit is contained in:
Norm Rasmussen
2023-07-16 13:22:40 -04:00
parent 69670a07ce
commit 40ee634f58

View File

@ -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'