Closing an iTerm tab with multiple split panes
iTerm allows you to have multiple split panes open inside the same tab.
How do I close all the panes together and/or the tab housing all of the panes?
The standard close tab shortcut of ⌘ + W only closes one pane at a time.
One way is to send command to all panes in tab and then send exit to all of them:
⌥ + ⌘ + i (send keyboard input to sessions in current tab)
⌃ + d (exit)
This closes all sessions and tab.
You may want to surpress warning message ("Warning! Keyboard input will be sent to multiple sessions.") for smoother usage.