On Wed, Aug 3, 2011 at 9:14 AM, Edward K. Ream <[email protected]> wrote:
> On Tue, Aug 2, 2011 at 3:32 PM, Kent Tenney <[email protected]> wrote:
>
>> How do I disable the dclick hook for vim.py?
>
> Good question.  As of rev 4445, you can set::
>
>   @string vim_trigger_event = disable

Nice!

>
> Presumably, you will then open vim nodes using the vim-open command
> bound to a key.

I'll probably stick with rclick for now.

>
> You could also use an @button or @command node.  For example:
>
>    @button open-vim @key=Alt-9
>
>        c.k.simulateCommand('vim-open')
>
> Iirc, you should not use vim-open as the name of the @button node.

I don't want to dedicate button space to it, like the idea of using a command.
I made a @command vim-open node, but found it's not necessary:
the command has been available all along.

All I needed was to disable the dclick hook.

Thanks,
Kent


>
> Edward
>
> --
> You received this message because you are subscribed to the Google Groups 
> "leo-editor" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/leo-editor?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to