Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 219
Afonso Rafael Avatar asked Aug 04 '20 16:08

Afonso Rafael


People also ask

How do you split a pane in Windows Terminal?

If you'd like to open a new pane of a profile that is already open in your terminal, you can right click on the tab and click Split Tab. This will duplicate the focused pane in the current tab.

What does split pane do in terminal?

The Split Panes feature allows you to divide a tab into multiple rectangular panes, each of which is a unique terminal session.

What is split pane in Terminal Mac?

If you choose Window→Split Pane (⌘-D), you wind up splitting your Terminal window into an upper pane and a lower pane. That can be handy when you keep certain scripts running all the time.

How do I resize a terminal window?

Even better, SHIFT+ALT and the arrow keys will resize them! Go spend some time learning about Panes in Windows Terminal and let me know how it goes for you!


1 Answers

If you're still interested in this, it looks like it will be added to Windows Terminal soon.

In the interim, I use tmux to workaround this issue.

like image 159
captainclam Avatar answered Oct 25 '22 02:10

captainclam