78

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?

Eddy
  • 6,661
  • 21
  • 58
  • 71

10 Answers10

100

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+[

JHannes
  • 1,456
  • 2
  • 10
  • 12
33

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

Xavier
  • 3,919
  • 3
  • 27
  • 55
19

for me

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

version 3.1.3

Ali Faris
  • 17,754
  • 10
  • 45
  • 70
9

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

georgeok
  • 5,321
  • 2
  • 39
  • 61
6

++/// 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

Sven
  • 5,155
  • 29
  • 53
Walid
  • 700
  • 2
  • 10
  • 29
6

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

Gyro
  • 733
  • 7
  • 11
3

alt + cmd + left/right

It works like charm for me.

handaru
  • 111
  • 4
3

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 + [

HAltos
  • 701
  • 7
  • 6
3

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

iTerm2 3.3.12

lehoang
  • 3,577
  • 1
  • 15
  • 16
2

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

angelixd
  • 300
  • 1
  • 7