10

How do I switch tabs when using Z shell on iTerm2? I have already tried all the possible key combinations. Here is an image of my current setup:

enter image description here

OS: macOS Mojave 10.14.4 (18E226)

iTerm2: Build 3.3.0beta7

Key combos tried: Different combinations of Command, Control, Option, , , }, { keys.

2
  • Hello, and welcome to apple.stackexchange @ibp73. Could you please add some more information to your question, such as what version of macOS and iTerm2 you're currently using, and also (if possible) a list of key combinations you've tried? – Sam May 13 '19 at 20:21
  • @Sam - I have updated the question. – ibp73 May 14 '19 at 15:48
10

Use the keyboard shortcuts Shift + Command + ] and Shift + Command + [ to switch to next and previous tabs respectively. The same are also available under iTerm2 Menu Bar → Window menu.

The keyboard shortcuts remain the same irrespective of the shell you are running.

4

You can view/update current key bindings if you open the Preference window from the menu bar iTerm2 > Preferences > Keys > Key Bindings

For me, command+/ as well as command+shift+[/] (as mentioned by previous answer) work by default.

I am using iTerm2 (3.3.7) on macOS Catalina (10.15.2)

0

On the trackpad: two-finger swipe, left and right will scroll through the tabs.

On the keyboard:

Shift + Command + [ (scroll left)

Shift + Command + ] (scroll right)

The keyboard commands loop through tabs, whereas the trackpad gesture does not.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .