[TxMt] Change the global key binding for completion

Gerd Knops gerti-textmate at bitart.com
Tue Feb 7 21:25:23 UTC 2006


On Tue, Feb 7, at 2:50 PM, Dominic Mitchell wrote:

> On Mon, Feb 06, 2006 at 05:34:12PM -0700, Matthew Gilbert wrote:
>> On Feb 6, 2006, at 5:17 PM, Dominic Mitchell wrote:
>>
>>> Is it possible to change the key binding for completion, everywhere?
>>> Unfortunately, I'm a converting Emacs user, and very used to hitting
>>> Alt-/ to do completion...
>>>
>>> I had a brief look in the manual, but I couldn't see an obvious  
>>> way to
>>> do this.
>>
>> The appendix details how to modify ~/Library/KeyBindings/
>> DefaultKeyBinding.dict. I modified the completion key with the
>> following:
>>
>>         "^n" = "nextCompletion:";
>
> Hmmm, I tried putting this in there, but it didn't seem to work.
>
>     "@/" = "nextCompletion:";

If you want 'Alt-/', that should be

	"~/" = "nextCompletion:";

Gerd

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// 
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
         <key>~/</key>
         <string>nextCompletion:</string>
</dict>
</plist>





More information about the textmate mailing list