Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iTerm2 keyboard shortcut - split pane navigation

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?

like image 639
Calvin Cheng Avatar asked Feb 12 '12 03:02

Calvin Cheng


People also ask

What is the keyboard command to navigate between panes?

You can use Ctrl + 1 , Ctrl + 2 and Ctrl + 3 ( Cmd on Mac) to navigate between up to three opened panes.

How do you use item 2?

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.

What is split pane in terminal?

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.


2 Answers

From the documentation:

Cmd] and Cmd[ navigates among split panes in order of use.

like image 51
Michael Berkowski Avatar answered Sep 24 '22 08:09

Michael Berkowski


Cmd+opt+/// navigate similarly to vim's C-w hjkl.

like image 35
George Avatar answered Sep 24 '22 08:09

George