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

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

Pete,

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.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
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