Re: [code] Alt+Shift in multilanguage settings in Linux

From: Mitchell <m.att.foicica.com>
Date: Sun, 12 Feb 2017 14:58:30 -0500 (EST)

Hi Pedro,

On Sun, 12 Feb 2017, Pedro Andres Aranda Gutierrez wrote:

> Hi folks, I have a setup with Spanish and Russian keyboard layout in GNOME.
> The layout switching key combination is Alt+Shift, which is also used in
> Textadept with the cursor keys to create a multi-cursor I've over some
> lines in the same column.
>
> It would be nice to be able to reprogram this...

You can re-define your key bindings for `buffer.line_down_rect_extend`[1]
and other `buffer.*_rect_extend` functions. For example:

   keys['csdown'] = buffer.line_down_rect_extend
   keys['csup'] = buffer.line_up_rect_extend

Cheers,
Mitchell

[1]: http://foicica.com/textadept/api.html#buffer.line_down_rect_extend

-- 
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 Sun 12 Feb 2017 - 14:58:30 EST

This archive was generated by hypermail 2.2.0 : Mon 13 Feb 2017 - 06:35:40 EST