Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am used to doing Ctrl-Shift-Tab to cycle through tabs.

I do slowly pick up the niceness about using Cmd-Shift-[ or ] to do the same on the Mac.

I have currently set TextMate to take Ctrl-Shift-Tab to do the tab cycling, but I'd want the Ctrl-Shift-[ or ] in addition to that to perform tab cycling. Is this possible?

The reason I ask is because I see that Chrome can do it both ways (not through any configuration of my own of course).

share|improve this question
    
Probably not. You can assign any other shortcut to a Menu command through System Preferences » Keyboard » Keyboard Shortcuts, but that will overwrite the default. E.g. assigning ⌃⇥ to Next File Tab will overwrite ⌘{. Chrome has just both. – slhck Mar 19 '12 at 9:58
    
If the app doens't use compiled nibs, you could add alternative shortcuts for example in /Applications/TextMate.app/Contents/Resources/English.lproj/MainMenu.nib. But I don't think there's any easier way to do it apart from using something like Keyboard Maestro. Even if you added multiple shortcuts to ~/Library/Preferences/com.macromates.textmate.plist directly, only one of them will work. – user495470 Mar 19 '12 at 13:44
    
I see. I will go look into it and report back – Nik So Mar 19 '12 at 21:31

If in TextMate tab cycling is exposed through menu items, you can also use AppleScript and QuickSilver to add the shortcuts you need.

You can find detailed instructions in this answer for a similar question (adding a second shortcut for a command in Xcode)

share|improve this answer

You must log in to answer this question.

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