Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-sonnet-4-20250514· AnthropicHugging Face LMArena Human Preference 140K

Is it possible to swith the iterm key binding to switch tabs with super and the vim…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Mistralmistral-medium-2505’s answer.
  1. User

    Is it possible to swith the iterm key binding to switch tabs with super and the vim motion keys?

  2. Claude Assistant

    Yes, you can configure iTerm2 to switch tabs using Cmd (Super) + vim motion keys. Here's how to set it up:

    1. Open iTerm2 Preferences (Cmd + ,)
    2. Go to the "Keys" tab
    3. Click the "Key Bindings" tab
    4. Click the "+" button to add new key bindings

    Add these key bindings:

    For Cmd+H (left):

    • Keyboard Shortcut: Cmd+H
    • Action: Select Tab
    • Parameter: Previous Tab

    For Cmd+L (right):

    • Keyboard Shortcut: Cmd+L
    • Action: Select Tab
    • Parameter: Next Tab

    If you want to use J/K for tab navigation instead:

    For Cmd+J:

    • Keyboard Shortcut: Cmd+J
    • Action: Select Tab
    • Parameter: Previous Tab

    For Cmd+K:

    • Keyboard Shortcut: Cmd+K
    • Action: Select Tab
    • Parameter: Next Tab

    Note that Cmd+H is normally used for "Hide iTerm2" so you'll lose that system shortcut. If you prefer to keep the hide function, you could use Cmd+Shift+H/L instead, or choose different modifier combinations like Cmd+Option+H/L.

    You can also set up direct tab selection with Cmd+1, Cmd+2, etc. by using the "Select Tab" action with parameters like "Tab 1", "Tab 2", etc.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.