[TxMt] Re: Smart Home Key
Simon Strandgaard
neoneye at gmail.com
Sun Dec 7 18:51:49 UTC 2008
On Sun, Dec 7, 2008 at 7:42 PM, Hans-Jörg Bibiko <bibiko at eva.mpg.de> wrote:
>
> On 07.12.2008, at 19:21, Simon Strandgaard wrote:
>
>> [snip]
>>> What happens if you execute :
>>>
>>> open "txmt://open?line=10&column=2"
>>>
>>> in the Terminal?
>>
>> This actually works. TM jumps to line 10, column 2.
>
>
> Hmm, weird. That means that open 'txmt...' works.
>
> Do you have any keybindings defined in KeyBindings/
> DefaultKeyBinding.dict for HOME?
>
> What happens if you change the key binding to let's say F13 ?
[snip]
Binding it to F13 works.
My keybindings file looks like this:
prompt> cat ~/Library/KeyBindings/DefaultKeyBinding.dict
{
/* home */
"\UF729" = "moveToBeginningOfLine:";
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
/* end */
"\UF72B" = "moveToEndOfLine:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
/* page up/down */
"\UF72C" = "pageUp:";
"\UF72D" = "pageDown:";
}
prompt>
For some reason keybinding for Home is not overloaded
by the command.
--
Simon Strandgaard
my graphics program for mac - http://toolboxapp.com/
More information about the textmate
mailing list