Eddy
Eddy

Reputation: 6861

iTerm2 keyboard shortcut for moving tabs around

Say I want to place one tab next to another. Currently I do this by clicking and dragging. This increases productivity because if I'm switching between 2 regular tasks in iTerm I want to place the tabs next to each other so I can switch between them quickly.

I can switch between tabs using keyboard shortcuts cmd+} and cmd+{.

But is there a way to move tabs around using keyboard shortcuts?

Upvotes: 79

Views: 71238

Answers (10)

lehoang
lehoang

Reputation: 4129

Here are the default hotkeys in iTerm2 3.3.12. You can change the key by going to Preferences > Keys.

iTerm2 3.3.12

Upvotes: 4

HAltos
HAltos

Reputation: 755

Iterm2 Build 3.2.7 on High Sierra (10.13.6): simply two keys:

CMD + Right_Arrow: move to next tab === CMD + Shift + ]

CMD + Left_Arrow: move to previous tab === CMD + Shift + [

Upvotes: 3

Gyro
Gyro

Reputation: 813

I reckon , screen shot will help . Please check key mappings section. enter image description here

Upvotes: 6

Walid
Walid

Reputation: 720

++/// will let you navigate split panes in the direction of the arrow, i.e. when using +D to split panes vertically, ++ and ++ will let you switch between the panes.

Note: is the [alt] key

Upvotes: 6

Ali Faris
Ali Faris

Reputation: 18602

for me

 CMD + [   // for previous tab 
 CMD + ]  // for next tab

version 3.1.3

Upvotes: 22

handaru
handaru

Reputation: 111

alt + cmd + left/right

It works like charm for me.

Upvotes: 3

georgeok
georgeok

Reputation: 5706

The defaults are CMD + SHIFT + ] and CMD + SHIFT + [. There are also available menus under the Window in the top bar.

You can also hit CONTROL + TAB

Upvotes: 11

JHannes
JHannes

Reputation: 1484

Using predefined shortcuts in iTerm2 you can

Move tabs

Left: Cmd+Shift+Left

Right Cmd+Shift+Right

And according to http://teohm.com/blog/2012/03/22/working-effectively-with-iterm2 you can

Switch between tabs

Next tab: Cmd+Shift+]

Previous tab: Cmd+Shift+[

Upvotes: 101

angelixd
angelixd

Reputation: 300

Looks like the current (Build 1.0.0.20131228) default bindings for moving tabs is Cmd + Shift + Left/Right.

Upvotes: 2

Xavier
Xavier

Reputation: 4017

That's a default features. Just open preferences/Keys and in Global Shortcut keys you can assign keys to "Move tabs to left/right".

Personnaly i use Cmd + n/p

Upvotes: 33

Related Questions