I know that you can switch tabs with shift cmd [arrow key] in Mac Terminal, but it is painful to reach the arrow key. How can I change the default keybinding?

link|improve this question

Not quite programming-related enough for my tastes. – Dana Mar 12 '09 at 21:00
@Dana: It may be: I do not know whether I need to change some rc files such as in the xmodmap case. – Masi Mar 12 '09 at 21:08
Use the Cmd and Shift keys next to the arrow keys. – Daniel Beck Sep 29 '11 at 6:24
feedback

migrated from stackoverflow.com Aug 15 '10 at 21:09

This question came from our site for professional and enthusiast programmers.

5 Answers

up vote 20 down vote accepted

enter image description here

link|improve this answer
feedback

You can change key bindings for almost all Cocoa apps in the system keyboard preference pane, including Terminal.app.

link|improve this answer
I'll try that, thanks! Using the default shortcuts is very cumbersome on a Macbook without mouse. – faB Mar 17 '10 at 10:00
feedback

cmd brace will also switch tabs.

link|improve this answer
feedback

1: Install SIMBL (plugin enabler): http://www.culater.net/software/SIMBL/SIMBL.php

2: Install the TerminalTabSwitching.bundle

git clone https://github.com/dabeeeenster/terminaltabswitching
cp -r terminaltabswitching/TerminalTabSwitching.bundle "/Library/Application Support/SIMBL/Plugins"

3: Restart the Terminal app, and enjoy Cmd+[0-9] tab-switching.

link|improve this answer
feedback

If you don't mind downloading new software, I recommend iTerm 2: http://www.iterm2.com/#/section/home

It not only allows rebinding keys almost arbitrarily plus fast switching between tabs with cmd+TabNumber (or your favorite meta key), but quite a few other nifty features as well.

(I would post a screen shot, but I'm new around here).

link|improve this answer
feedback

protected by nhinkle Jun 28 '11 at 20:23

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.