help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do rectangular cut(visual block) in emacs


From: poppyer
Subject: Re: How to do rectangular cut(visual block) in emacs
Date: Tue, 24 Mar 2009 23:29:17 +0800
User-agent: Emacs Gnus

Francis Moreau <francis.moro@gmail.com> writes:

: On Mar 24, 1:52pm, Peter Dyballa <PeterDyba...@Web.DE> wrote:
:> Am 24.03.2009 um 13:32 schrieb Francis Moreau:
:>
:> > How do I move to the bottom right corner without adding space to the
:> > last
:> > line ?
:>
:> Two steps, two registers: one with lines #1 + #2, the other line #3. 
:> Or vice-versa. Or you transpose line #1 and #2 or #2 and #3.
:>
:
: Another possibility would be to switch to a special mode (like picture-
: mode) that would allow to move freely into a buffer and select and
: copy the rectangle in this mode. The copy would dismiss any trailing
: spaces.

If you are using emacs 23, M-x cua-set-rectangle-mark (default binding
C-RET) will be your friend.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]