Terminal vertical split

Hi,


I try to split the terminal window into two tabs. The shortcut is Command + D.

However, it does not work for me. After Cmd + D, the terminal screen turns black. I could turn it back by resizing it to full and minimize again.

I think it is a bug and its ridiculous.



MacBook Pro 15”, macOS 10.14

Posted on Apr 23, 2019 2:40 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 23, 2019 4:22 PM

High Sierra (this community), or Mojave (your footer)?


On High Sierra...


⌘T is the new-tab shortcut, not ⌘D.


⌘D gets you two viewing panes into one tab, and into one session.


Panes are handy for looking at different parts of a long output buffer from a single session.


I'm not aware of a way to fork a paned terminal session into two separate tabs.


It is possible to drag a tab off of a combined multiple-tab session to get separate displays, similar to how tabs work in Safari and some other macOS tools.


If you want multiple panes with different sessions, iTerm 2 is a potential choice.


If you want multiple sessions in one pane, launching screen or tmux can be an option.

5 replies
Question marked as Top-ranking reply

Apr 23, 2019 4:22 PM in response to dngo97

High Sierra (this community), or Mojave (your footer)?


On High Sierra...


⌘T is the new-tab shortcut, not ⌘D.


⌘D gets you two viewing panes into one tab, and into one session.


Panes are handy for looking at different parts of a long output buffer from a single session.


I'm not aware of a way to fork a paned terminal session into two separate tabs.


It is possible to drag a tab off of a combined multiple-tab session to get separate displays, similar to how tabs work in Safari and some other macOS tools.


If you want multiple panes with different sessions, iTerm 2 is a potential choice.


If you want multiple sessions in one pane, launching screen or tmux can be an option.

Apr 23, 2019 4:55 PM in response to dngo97

I can also recommend iTerm2

https://www.iterm2.com/

I spend all day using iTerm2 at work (I'm a Unix file system developer).


Another way to create multiple pane in a single Terminal emulator window, is tmux (Terminal Multiplexer). You can install tmux using a package manager such as HomeBrew

https://brew.sh/

One advantage to tmux is if you use ssh to access remote systems, if you run tmux on the remote system, you can lose your network connection, and then come back later (even from a different location), and re-attach to the remote session and it will still be there without loosing any of your work. I also make heavy use of tmux on Unix systems I ssh into from my Mac and I can reboot my Mac anytime I want, and not loose any of my remote work. I can go home and connect from another Mac and attach to tmux sessions from home.


But I mentioning tmux because it has the ability to create vertical and horizontal split panes as independent sessions or sharing a session.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Terminal vertical split

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.