Re: [code] [textadept] Advanced custom key bindings

From: Robert Gieseke <rob.g.att.web.de>
Date: Thu, 22 Dec 2016 17:17:32 +0100

Hi,

this is likely an issue with your terminal. Have you tried the GUI
version? I got it to work there (on Linux).

Cheers,
Robert

Am 22/12/16 um 01:11 schrieb Tomáš Zíma:
> Hello.
>
> I recently discovered Textadept and it certainly got my attention.
> However, I can't seem to figure out how to define some bindings I am
> used to.
>
> For example, this is what I tried to do in init.lua:
>
> keys.chome = function()
> buffer:goto_pos(0)
> end
>
> Pressing CTRL+HOME should now jump to the beginning of a buffer, but it
> doesn't. Specifying a binding for HOME key alone works (i.e.
> "keys.home"). Other combinations like CTRL+LEFT (i.e. "keys.cleft")
> works as well.
>
> The same goes for CTRL+END etc.
>
> Is there a workaround for that? I use textadept-curses=9.0.1.
>
> Thanks.
>
> tzima

-- 
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 Thu 22 Dec 2016 - 11:17:32 EST

This archive was generated by hypermail 2.2.0 : Fri 23 Dec 2016 - 06:44:40 EST