iTerm2 keyboard shortcut for moving tabs around

Keyboard ShortcutsIterm

Keyboard Shortcuts Problem Overview


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?

Keyboard Shortcuts Solutions


Solution 1 - Keyboard Shortcuts

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

Solution 2 - Keyboard Shortcuts

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

Solution 3 - Keyboard Shortcuts

for me

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

version 3.1.3

Solution 4 - Keyboard Shortcuts

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

Solution 5 - Keyboard Shortcuts

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

Solution 6 - Keyboard Shortcuts

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

Solution 7 - Keyboard Shortcuts

alt + cmd + left/right

It works like charm for me.

Solution 8 - Keyboard Shortcuts

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

Solution 9 - Keyboard Shortcuts

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

Solution 10 - Keyboard Shortcuts

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

iTerm2 3.3.12

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionEddyView Question on Stackoverflow
Solution 1 - Keyboard ShortcutsJHannesView Answer on Stackoverflow
Solution 2 - Keyboard ShortcutsXavierView Answer on Stackoverflow
Solution 3 - Keyboard ShortcutsAli FarisView Answer on Stackoverflow
Solution 4 - Keyboard ShortcutsgeorgeokView Answer on Stackoverflow
Solution 5 - Keyboard ShortcutsWalidView Answer on Stackoverflow
Solution 6 - Keyboard ShortcutsGyroView Answer on Stackoverflow
Solution 7 - Keyboard ShortcutshandaruView Answer on Stackoverflow
Solution 8 - Keyboard ShortcutsHAltosView Answer on Stackoverflow
Solution 9 - Keyboard ShortcutsangelixdView Answer on Stackoverflow
Solution 10 - Keyboard ShortcutslehoangView Answer on Stackoverflow