[TxMt] Re: re-defining an alternative keyboard shortcut

Allan Odgaard mailinglist at textmate.org
Sun Jan 26 14:20:32 UTC 2014


On 26 Jan 2014, at 4:20, Martin Pollow wrote:

> First I redefined the keyboard shortcut for "Comment Line" in the 
> system Preferences. This command is from the "Source" bundle and 
> appears as alternative shortcut to the default ⌘/ in the bundle menu 
> (I used ⌘- in order to avoid the rather clumsy command for german 
> keyboard layout).

TextMate disables the system’s key equivalent handling for bundle 
items because the system is making wrong assertions, for example that a 
key equivalent will never be bound to more than one menu item, so it 
cannot be made to work with TextMate.

So for bundle items you should change key equivalents via the bundle 
editor.

A quick way to find an item and edit it is using Bundles → Select 
Bundle Item… (⌃⌘T). Locate the item (e.g. enter “comment”) 
then press option-return to edit that item.


More information about the textmate mailing list