[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] One-keystroke command to move blocks of text up and down
From: |
Susan Cragin |
Subject: |
Re: [O] One-keystroke command to move blocks of text up and down |
Date: |
Sun, 24 Feb 2013 11:48:42 -0500 (GMT-05:00) |
-----Original Message-----
>From: Carsten Dominik <address@hidden>
>Sent: Feb 24, 2013 11:16 AM
>To: Susan Cragin <address@hidden>
>Cc: address@hidden
>Subject: Re: [O] One-keystroke command to move blocks of text up and down
>
>
>On 24.2.2013, at 16:53, Susan Cragin <address@hidden> wrote:
>
>> I use Meta-up-arrow and Meta-down-arrow to move headings in org and entries
>> in spreadsheets.
>> Would like to be able to use the same or similar command to move blocks of
>> text up or down.
>> The current solution--highlight then kill/yank--is just too slow.
>> Suggestions?
>
>Hi Susan,
>
>what do you mean by "blocks". A paragraph? Does the command
>
>M-x mark-paragraph
>
>select the right amount of text? If so, you could try the command
>transpose-paragraphs.
>
>- Carsten
No. I have the following example. Each of these sentences is a paragraph
because it has a carriage return after it. I need to re-order the
sentence/paragraphs into correct order.
** Journal
This is paragraph three.
This is paragraph two.
This is paragraph one.
** Other Heading