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

Re: Vi and Emacs



On 12/08/02 Keith O'Connell did speaketh:

> Hi,
> 
> 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?

    In Vi you'd have to pipe the text to an external command, like fmt. In Vim
however...

    :h gw

    Mike

-- 
Michael P. Soulier <msoulier@storm.ca>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix
HTML Email Considered Harmful: http://expita.com/nomime.html

Attachment: pgp2Lnxolr469.pgp
Description: PGP signature


Reply to: