Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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. –  ؘؘؘؘ Mar 19 '12 at 13:44
    
I see. I will go look into it and report back –  Nik Mar 19 '12 at 21:31

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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