Re: [code] delete line keybind

From: tastyminerals <tastyminerals.att.gmail.com>
Date: Wed, 29 Jan 2014 17:21:24 +0300

Thank you.
Adding "keys.cdelete = buffer.line_delete" to init.lua, for example, did
the trick for me.
I still do think that textadept should have 'buffer.line_delete'
assigned by default.

On 1/29/2014 4:59 PM, Mitchell wrote:
> On Wed, 29 Jan 2014, Mitchell wrote:
>
>> Hi,
>>
>> On Wed, 29 Jan 2014, tastyminerals wrote:
>>
>>> Hi everyone,
>>> I've been using textadept only for a few days recently and bumped
>>> into one completely unexpected surprise. "Delete whole line" is one
>>> of the most frequent operations I do. I have to 'ctrl+shift+n' AND
>>> 'delete' all the time, which is quite irritating. I have been
>>> looking through textadept.keys.html and could not find "delete whole
>>> line" keybind anywhere.
>>>
>>> 1. Am I correct and there is no such keybind in textadept?
>>> 2. How can there be no keybind for this kind of operation?
>>
>> http://foicica.com/textadept/api/buffer.html#line_delete
>>
>> That page has nearly everything you can do with buffers.
>
> Sorry, my response was incomplete. No there is no default binding.
> You'll have to bind your own key to `buffer:line_delete()`.
>
> 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 29 Jan 2014 - 09:21:24 EST

This archive was generated by hypermail 2.2.0 : Thu 30 Jan 2014 - 06:39:13 EST