문제

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?

도움이 되었습니까?

해결책

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

다른 팁

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

for me

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

version 3.1.3

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

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

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

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

alt + cmd + left/right

It works like charm for me.

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

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

iTerm2 3.3.12

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top