Re: [code] keymaps on console

From: Joseph McDonald <joe.att.vpop.net>
Date: Wed, 25 Mar 2015 14:39:04 -0700

Thanks Mitchell,

I applied patch and no change.

Also to Chris Emerson: Thank you for looking into it!

these work great for me:
-- for console ctrl-space
keys['c@'] = function() _G.buffer.selection_mode = 0 end

-- for console ctrl-/
keys['c_'] = buffer.undo

thanks,
-joe

On 03/25/2015 12:23 PM, Mitchell wrote:
> Hi,
>
> On Wed, 25 Mar 2015, Chris Emerson wrote:
>
>> Hi,
>>
>> On Wed, Mar 25, 2015 at 12:45:04AM -0700, Joseph McDonald wrote:
>>> I'm having a problem getting some keys mapped when using textadept in
>>> the console (using gnome-terminal).
>>>
>>> [snip]
>>>
>>> also, these work on when numlock is on in gui (but not with numlock off)
>>> and don't work in the console at all:
>>>
>>> keys['kp7'] = buffer.document_start
>>> keys['kp1'] = buffer.document_end
>
> If you can compile Textadept, will you please try the attached patch? I
> do not have a keyboard with a keypad in order to test it. If it works
> for you, please let me know and I'll commit it.
>
> 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 Wed 25 Mar 2015 - 17:39:04 EDT

This archive was generated by hypermail 2.2.0 : Thu 26 Mar 2015 - 06:49:29 EDT