[Top][All Lists]

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

Re: Equivalent to vi's shift operation

From: Kai Großjohann
Subject: Re: Equivalent to vi's shift operation
Date: 24 Feb 2001 12:56:45 +0100
User-agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/21.0.99

On Fri, 23 Feb 2001, Matt Armstrong wrote:

> In vi you can mark a region of text and shift it left or right by
> one "shiftwidth" -- basically one level of indentation.  I find that
> I want this when editing in modes that don't support indentation.
> Does Emacs have some way to do this?

Mark the region, then C-u 4 2 C-x C-i will move 42 columns to the
right.  C-u - 4 2 C-x C-i moves, well, unsurprisingly, to the left.

Be indiscrete.  Do it continuously.

reply via email to

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