Re: [Ext] [code] Moving around and selecting text with arrow and modifier keys

From: Mitchell <m.att.foicica.com>
Date: Wed, 24 Jun 2020 19:13:53 -0400 (EDT)

Hi James,

On Wed, 24 Jun 2020, James Reynolds wrote:

> I can't see the alt-shift-arrow keybinding in the keys.lua file. I tried to manually set it with the following but it didn't work.
>
> keys['asleft'] = buffer.word_left_extend
> keys['asright'] = buffer.word_right_extend

This works for me when I put it in my *~/.textadept/init.lua* in Mac. I had to reset or restart Textadept to see the changes.

> I don't know if I'm doing it wrong. In fact, the only mapping for alt that I see is the following.
>
> keys.aright, keys.aleft = buffer.word_right, buffer.word_left

I said that that file housed most (but not all) of Textadepts keys. Scintilla defines some of its own keys inherently.

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 24 Jun 2020 - 19:13:53 EDT

This archive was generated by hypermail 2.2.0 : Thu 25 Jun 2020 - 06:43:13 EDT