How to get vertical split of terminal in Mac to execute different actions?
Download iTerm2 for macOSX from here.
Use cmd + d
for vertical split and cmd + shift + d
for horizontal split
To navigate between the vertical splits in left/right or up/down fashion use cmd + [
and cmd + ]
I recommended iTerm 2 because of these features.
Also, I like the autocomplete feature which occurs when you press cmd + ;
Features in short include the following:
- Split Panes
- Hotkey Window
- Search
- Autocomplete
- Mouseless Copy
- Paste History
- Instant Replay
- Configurability
- Full Screen
- 256 Colors
- Unix-like
- Readability
- Mouse Reporting
- Growl Support
- Exposé Tabs
- Tagged Profiles
- Multi-Lingual
Possibly GNU Screen with vertical split?
It should already be installed on your Mac, type screen
in the terminal.
You can also do this with emacs by itself.
If you like to work with your terminal windows in fullscreen, you can use macOS' built in screen splitting feature like so:
- Open two terminal windows
- Toggle one of the terminal windows fullscreen
- Activate 'Mission Control' (default: F3)
- Drag the second terminal window onto the first's fullscreen space
- Enjoy your vertically split fullscreen terminal windows
You can switch keyboard focus between terms with ⌘-[ and ⌘-]