Terminal: Switch between panes after vertical split

terminal

I'm using Terminal.app version 2.9.1 which is built into macOS. I just learned that I can split the screen vertically using Command + D (and un-split it via Command + Shift + D).

However, I do not understand how to use the two views differently. In fact whenever I type a command in the lower screen, say ls, the same happens in the upper screen.

Also, I do not understand how to use the upper screen. I read somewhere that Command + Alt + should do the job, but that doesn't seem to work.

Best Answer

From this answer:

You're misinterpreting the feature. It's not meant for two separate terminals. It's intended to allow a user to see two different view points in the same terminal. For instance, if you have 3000 files in a directory, and you perform an ls command, that output is going to be very long.

If you use the split pane, you can scroll through that long output without having to flip back and forth, possibly losing your place along the way.

If you want two terminals, use tabs, or separate windows.


Alternatively, you can also install and use a widely used 3rd party Terminal emulator called iTerm2. iTerm2 has various features including the ability to create Split Panes, with support for keyboard shortcuts.