Re: [textadept] How can I bind a function to the ']' key?

From: Robert <ro....at.web.de>
Date: Tue, 7 Dec 2010 09:08:48 +0100

On Tue, Dec 7, 2010 at 2:22 AM, phayz <russelldicken....at.gmail.com> wrote:
> I have tried various options but can't seem to get this right. How can
> I bind a function to the ']' key? I have tried escaping the ']'
> character with a '\' character but this hasn't worked.
>
>
> - Russell
>

Only the ] would be:
keys["]"] = { function() gui.statusbar_text = "]]]]]]]" end }

In combination with e.g. alt
keys["a]"] = { function() gui.statusbar_text = "]]]]]]]" end }

Robert
Received on Tue 07 Dec 2010 - 03:08:48 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:55:09 EST