Re: [code] [textadept] Thoughts about custom key maps for command entry input?

From: Mitchell <>
Date: Tue, 9 Apr 2013 15:01:05 -0400 (Eastern Daylight Time)


On Mon, 8 Apr 2013, Peter Kazmier wrote:

> [snip]
> Too bad we couldn't make specific functions return an error if they were
> not invoked in their appropriate modal context. I do think it is a shame
> that every module that uses command entry must hardcode keys instead of
> using a modal-specific keymap that would come with reasonable defaults,
> but at the same time allow users to rebind or extend with new
> functionality as desired. You have such powerful key binding machinery
> in place already (key chaining, etc ...), I was just trying to think of
> a way it could be extended to this case as it seems odd that we have to
> hardcode anything these days. Would love to hear if you have other
> thoughts or ideas?

I have an idea for modal key bindings using the existing _G.keys
functionality that I will experiment with and let you know.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Tue 09 Apr 2013 - 15:01:05 EDT

This archive was generated by hypermail 2.2.0 : Wed 10 Apr 2013 - 06:49:43 EDT