Musings
Change the bundle / language activation shortcuts in TextMate
7th September 2009
There are shortcuts to change the current bundle you’re working with in TextMate usually ⌃⌥⇧C (ctrl + option + shift + {first letter of bundle title}.) It’s useful if you’re switching between say a PHP and a CSS file and TextMate hasn’t automatically switched.
To edit the shortcuts, or to add or remove new and existing ones do the following:
- Select Bundles > Bundle Editor > Edit Languages from the toolbar
- Select the bundle you want to edit the shortcut for from the list on the left
- Ensure Key Equivalent is selected
- Click in the box next to Key Equivalent and press the shortcut keys you desire
- _If you want to remove a shortcut just click the x in the box
If you have multiple bundles with the same shortcut, you’ll be given a list when the shortcut is activated and you can either click or use hit the corresponding number on the keyboard to select. I’d recommend just having one bundle per shortcut, so get in there and remove the obsolete ones!
Discuss
Get involved in the discussion by using the comment form below.