I realized that the default binding `C-c *` works only on the current line,
not the whole selection (and the same applies to the opposite `C-c -`).

It would be great to have those commands work over a region too.

But in the meanwhile, you can do either of the below:

- Simply select the region and use `query-replace-regexp`.
- Use a combination of keyboard macros and `C-c *`.
- Use `multiple-cursors`.
- Any other multiple editing method you might prefer.

--
Kaushal Modi
On Sep 29, 2015 6:06 AM, "Xebar Saram" <zelt...@gmail.com> wrote:

> Hi Nick
>
> well yes i guess :) . but would be cool if this small function was org
> aware and thus the asteriks (org header) level would be auto set to the
> current sub level.
>
> thx
>
> z
>
> On Tue, Sep 29, 2015 at 6:30 AM, Nick Dokos <ndo...@gmail.com> wrote:
>
>> Xebar Saram <zelt...@gmail.com> writes:
>>
>> > Hi all
>> >
>> > im looking for a simple way to convert a simple list of lines (i can
>> > mark it first if needed) each to a orgmode header anyone has such a
>> > way?
>> >
>>
>> Maybe I'm missing something, but can't you just add asterisks in front
>> of each line? Maybe with a keyboard macro? Or even a sed script?
>>
>> There's a reason that org files are plain text.
>>
>> Nick
>>
>>
>>
>

Reply via email to