Reputation: 6861
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
Reputation: 4129
Here are the default hotkeys in iTerm2 3.3.12. You can change the key by going to Preferences > Keys.
Upvotes: 4
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
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
Reputation: 18602
for me
CMD + [ // for previous tab
CMD + ] // for next tab
version 3.1.3
Upvotes: 22
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
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
Reputation: 300
Looks like the current (Build 1.0.0.20131228) default bindings for moving tabs is Cmd + Shift + Left/Right
.
Upvotes: 2
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