[TxMt] key binding question

Allan Odgaard throw-away-2 at macromates.com
Thu May 1 10:05:48 UTC 2008

On 29 Apr 2008, at 06:26, phil swenson wrote:

> [...]
> In most apps I've been able to get cmd-y and cmd-d to work by adding
> this to the
> ~/Library/KeyBindings/DefaultKeyBinding.dict file
> "@y"        = ("selectLine:", "delete:");
> "@d"        = ("selectLine:", "copy:");

I am surprised you can bind to the ⌘-key from this dictionary.

The key event handling in Leopard did however change, so maybe this is  
now possible for NSTextView, but might still not be for TextMate.

Try instead to record these actions as macros or do a simpler binding  
to test that the key actually works.

More information about the textmate mailing list