At least p9p acme has multiline tags. Personally, I prefer 2-1 chord 
complicated or frequent stuff onto Edit command

-- 
Kostarev Ilya

On 27 Oct 2014 at 18:48:10, Ingo Krabbe (ikrabbe....@gmail.com) wrote:

but you can't do this on a acme headline. So how would you apply such multiline 
commands to a range you marked in the buffer?  

> Edit {  
> s/^/\[/  
> s/\:\ /\]/  
> }  
>  
>  
> On Mon, Oct 27, 2014 at 8:28 AM, Eduardo Alvarez <astrochelon...@gmail.com>  
> wrote:  
>  
>> Hello, everyone,  
>>  
>> I'm in the process of learning acme via Russ Cox's p9p port. Recently, I  
>> found  
>> myself editing some text to use with markdown, and needed to make more  
>> than one  
>> modification to a list. I wanted to know if it's possible to give the Edit  
>> command more than one argument. For example, I found myself needing to  
>> replace  
>> colons with a close bracket (]), and inserting an open bracket at the  
>> beginning  
>> of the line. So I did this:  
>>  
>> Edit s/^/\[/  
>> Edit s/\:\ /\]/  
>>  
>> And I was hoping to combine these into a single line, so, for example:  
>>  
>> Edit s/^/\[/ s/\:\ /\]/  
>> (Not sure if escaping was necessary, but I was playing it safe)  
>>  
>> Doing exactly what I did above resulted in the error  
>>  
>> "Edit: newline expected (saw f)"  
>>  
>> So that's obviously not it. But I'm not sure if it's at all possible.  
>>  
>> Thank you in advance.  
>> --  
>> Eduardo Alvarez  
>>  
>> "Stercus, Stercus, Stercus, moriturus sum"  
>> -- Rincewind The Wizzard  
>>  



Reply via email to