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

Re: Vi and Emacs



On Monday 12 August 2002 16:59, Keith O'Connell wrote:
> 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?

If your version of vi is "vim" as it should be, position yourself at the 
beginning of the paragraph and use gq}

mvh,
-- 
[simula.research laboratory]
                 Åsmund Ødegård
                 Scientific Programmer
                PGP: http://www.simula.no/~aasmundo/data/mandus.asc
-- auto sig --
EZE 33:20  Yet ye say, The way of the Lord is not equal. O ye house of 
Israel,
 I will judge you every one after his ways.



Reply to: