Hacker News new | ask | show | jobs
by beatgammit 4500 days ago
> 'default-path' has been removed

This kind of annoys me, but I'm successfully using this workaround (hinted at in the announcement):

bind c run 'tmux new-window -c "#{pane_current_path}"' bind-key '%' split-window -hc "#{pane_current_path}" bind-key '"' split-window -vc "#{pane_current_path}"

Anyone know why this change was made?

2 comments

For anyone else who shares tmux configs between different versions, this is a good way to do it:

    if-shell "[[ `tmux -V` == *1.9* ]]" \
        'unbind c; bind c new-window -c "#{pane_current_path}"'
No, but I am very thankful for your posted workaround.