I stumbled across the CMD-D hot key which splits the Terminal into 2 panes. But I can't find documentation anywhere on how to close the new pane or even switch the focus to it so I can use it. What are the other commands?
The idea behind splitting is that it allows you to keep a certain part of the shell buffer displayed while continuing to enter new commands. So only the lowest split does allow keyboard input. To position the view on the shell buffer use the scroll bar.
You can un-split by pressing Shift-Cmd-D.
Like the top answer says, to undo the split is ⌘ Shift ⌘Command D.
I just wanted to add that in general OS-X shortcuts that are done with ⌘ Command-char are undone (or the opposite/complement command is executed) with ⌘ Command ⌘ Shift-char.
In the most current version of Iterm2, navigate to
Preferences > Profiles > Keys.
+ sign and add new key shortcut. Then scroll to the bottom and select
Send Escape Sequence. Do this twice and after you select escape sequence simply put a
b in the text box for left and an
f for right.
More information found here: