Skip to content

Split plane horizontally or vertically loses directory context

Bug report

Unable to get the new horizontal or vertical split pane to retain the same directory context as the existing session.

Have updated both per profile settings and the global settings

  1. General->Profiles->[Profile name]->Working Directory->Advanced Configuration->Edit->Working directory for new Split panes->Reuse previous session's directory

and also

  1. General->Profiles->Working Directory->Advanced Configuration->Edit->Working directory for new Split panes->Reuse previous session's directory

Detailed steps to reproduce the problem

  1. Using ssh to login to a remote Linux server using the pre-defined profile
  2. Run tmux -CC attach to connect to an already existing session
  3. Right click and open Split Pane Vertically/Horizontally, always opens the new pane in the default user home directory

What happened

A new pane opened with current directory set to the root directory

What should have happened

A new pane with the same directory context as the current window should have been opened


Edited by Inian