Re: [code] How to define jk as a key chain to change key.mode to command_mode?

From: Robert Gieseke <rob.g.att.web.de>
Date: Sun, 21 Aug 2016 10:18:48 +0200

Hi Alireza,

something like this should work[1]:

keys['j'] = {
  k = function() ui.statusbar_text = "Chain: j k" end
}

(I changed the function for testing.)

Cheers,
Robert

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

Am 21/08/16 um 05:49 schrieb Alireza Bashiri:
> I've written this statement but it doesn't work:
>
> keys['jk'] = function() keys.MODE = 'command_mode' end
>
> Sincerely,
> Alireza

-- 
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 21 Aug 2016 - 04:18:48 EDT

This archive was generated by hypermail 2.2.0 : Sun 21 Aug 2016 - 06:48:12 EDT