diff --git a/tmux/tmux.conf b/tmux/tmux.conf index d37c7b7..52b35b8 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -29,9 +29,9 @@ bind X kill-session # Bind Control-a + C to create a new session bind C new-session -# split panes using | and - -bind | split-window -h -bind - split-window -v +# split panes using | and - and use the current working directory +bind | split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" unbind '"' unbind %