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?
Solution 1:
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:
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:
for me
CMD + [ // for previous tab
CMD + ] // for next tab
version 3.1.3
Solution 4:
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:
⌘+⌥+←/↑/→/↓ 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