I have been a long time user of the standard Mac Terminal. Decided to experiment with iTerm2 after hearing good things about it from my colleagues.
One of the more useful features I am seeing on iTerm2 is its split panes (much like vim split buffers).
In vim, I can move between split buffers using Ctrl+W+arrowkeys
. Is there a keyboard shortcut for iTerm2 to move between panes as well?
You can use Ctrl + 1 , Ctrl + 2 and Ctrl + 3 ( Cmd on Mac) to navigate between up to three opened panes.
The primary use of the mouse in iTerm2 is to select text, and (by default) text is copied to the clipboard immediately upon being selected. You can click and drag to perform a normal selection. Double-clicking selects a whole word. Triple-clicking selects an entire line.
The split panes feature allows you to divide a tab into multiple rectangular "panes", each of which is a unique terminal session. The shortcuts CMD-D and SHIFT-CMD-D split a pane to the right or down, respectively. You can also split a pane left or split up.
From the documentation:
Cmd] and Cmd[ navigates among split panes in order of use.
Cmd+opt+←/↑/→/↓ navigate similarly to vim's C-w hjkl.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With