tags:

views:

729

answers:

1

I am switching to textmate and there are a few things I want to change. I have tried Googling for the answer, but haven't found a simple explanation for how to rebind shortcuts globally.

First, tab switching doesn't work with Cmd+Shift+{ and Cmd+Shift+} This works in nearly every other application (FF, Terminal, etc.)

How do bind those keys to switch tabs?

Second, I would like Ctrl+j/k/l/; to move the cursor, it it possible to rebind that command to the arrow keys?

Thanks in advance.

+5  A: 

Yes. For the arrow keys, you can record a macro (Bundles > Macros > Start Recording, [press an arrow], Stop Recording, Save Last Recording. It'll make a macro with the one command moveLeft: or similar. Set a key equivalent and you're done.

For the tab switching, go to System Preferences > Keyboard > Keyboard Shortcuts and add new shortcuts for menu items called "Next File Tab" and "Previous File Tab". Restart TextMate, and you're done.

Ben Alpert
That did it, thanks so much
John C