[TxMt] Re: Cocoa Autocomplete

Jacob Rus jrus at hcs.harvard.edu
Wed Jan 10 02:25:07 UTC 2007


Sam Halliday wrote:
> I noticed that the Cocoa autocomplete word (ESC in Tiger) works in 
> TextMate. Using ~/Library/KeyBindings/DefaultKeyBinding.dict I have set 
> ^/ to also do autocomplete in Cocoa apps. I've been using this 
> keybinding for a long time now, but I'm new to TextMate (bought license 
> today).
> 
> Unfortunately, this user set binding does not work in TextMate although 
> it does work in other Cocoa apps such as TextEdit. Does anyone know why 
> this might be the case and any hints to fix it?

The relevant selectors that TextMate uses are `nextCompletion` and 
`previousCompletion`, so you'll need to make a textmate-specific 
bindings file, and put it in `~/Library/Application 
Support/Textmate/KeyBindings.dict`




More information about the textmate mailing list