diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index d93f016..1431129 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -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'