[TxMt] Re: binding f3 to close window...

Jacob Rus jrus at fas.harvard.edu
Thu Mar 23 11:39:28 UTC 2006


Fons Rademakers wrote:
 > For historical reasons I would like to bind f3 to "close window"
 > command.

You want to bind the "performClose:" selector to F3.  The way to do this 
is to put the following file as ~/Library/KeyBindings/DefaultKeyBinding.dict

{
     "\UF706" = "performClose:";
}

Now every application with Cocoa text widgets can use F3 for close.

To learn more, see my article about keybinding:

http://hcs.harvard.edu/~jrus/Site/Cocoa%20Text%20System.html

-Jacob




More information about the textmate mailing list