[plug] vim and paragraphs

Colin Muller colin at twobluedots.com.au
Tue Aug 27 14:24:49 WST 2002


On Tue, Aug 27, 2002 at 02:16:29PM +0800, Craig Ringer wrote:
> Colin Muller wrote:
> > On Tue, Aug 27, 2002 at 12:02:17PM +0800, Russell Steicke wrote:
> > 
> >>Can someone please tell me how to justify a paragraph using vim?  I
> >>keep starting it to edit small text documents, changing a couple of
> >>words, and ending up having to hand-edit all the lines in a
> >>paragraph to make it look pretty again.
> > 
> > 
> > :gq
> 
> Interesting. While ":help gq" gets me info on the gq command, vim 
> doesn't seem to actually accept it

My bad: you don't type the colon. Weirdly enough, I managed to include
the colon even though I double-checked the commands in a vim instance
while I typed the original mail. Something about "Do as I do, not as I
say I think I do" :-)

Colin

> 
> "Not an editor command: gq"
> 
> vim version 6.1.18 ( debian version 6.1.018-1 )
> 
> I presume there's something embarrasingly obvious I'm missing? :Q 
> doesn't work either.
> 
> -- 
> Craig Ringer
> GPG Key Fingerprint: AF1C ABFE 7E64 E9C8 FC27  C16E D3CE CDC0 0E93 380D
> 	-- if it ain't broke, add features 'till it is. (or:)
> 	while (! broken) { features ++ ; broken = isBroken(features) }



More information about the plug mailing list