Re: Vi and Emacs
On Mon, Aug 12, 2002 at 03:59:16PM +0100, Keith O'Connell wrote:
> I am trying to become passingly familiar with both these editors. I
> have a question that I cannot seem to find the answer to.
> In Emacs the Alt-q command will realign a paragraph against the
> current right margin, a "right justify" after a paragraph has been
> edited. Is there a comparable command in Vi?
I don't know about plain vi, but vim has the :right command. The easiest
way to use it is to select a region visually using 'v' and then type
':ri' <Enter> while still in visual mode.
Colin Watson [firstname.lastname@example.org]
- Vi and Emacs
- From: Keith O'Connell <email@example.com>