windowssplitpanewindows-terminal

Windows terminal, split panes but the new pane is on the same directory as the previous?


Might be a little bit of a silly question. The problem is simple, I tend to have two panes, one where I write code, and the other to compile it. I do that with the windows terminal (cmd + vim + Mingw), but something is bothering me. I can split the panes perfectly but after that I have to change directory to the project directory on both panes.. it is really a minor annoyance, but would it be possible for, when I split panes, the second pane going going directly to the directory of the first?

if it's silly, I'm really sorry


Solution

  • I know you probably have found a way by this time but the shortcut to open a new pane in the same directory for Windows terminal is Shift+Alt+D.

    You can view the image here: pane-split