diff --git a/tmux.conf b/tmux.conf index aedcde2..babefc6 100644 --- a/tmux.conf +++ b/tmux.conf @@ -12,3 +12,7 @@ set -g base-index 1 # window tabs setw -g window-status-format " #[bg=default]#[fg=green]#W" setw -g window-status-current-format " #[bg=default]#[fg=green]<#W>" + +# use current path when opening panes +bind % split-window -h -c "#{pane_current_path}" +bind '"' split-window -v -c "#{pane_current_path}"