[Gllug] vi indenting ...

kim at aldigital.co.uk kim at aldigital.co.uk
Tue Dec 18 13:18:29 UTC 2001


On Tue, Dec 18, 2001 at 07:44:03PM +0000, Bruce Richardson wrote:
> On Tue, Dec 18, 2001 at 05:49:12PM +0000, Richard Cohen wrote:
> > On Tue, 18 Dec 2001, Jonathan Dye wrote:
> > > Can anyone tell me how to indent several lines at once with spaces in vi?

> > Type the number of lines to indent, followed by >> to indent by sw spaces
> > (where sw is a vi variable - do ":set sw" to see the value and e.g. ":set
> > sw=4" to set to 4 spaces).

> And of course you can do > followed by a motion, so >} does to the end
> of the paragraph.

while we are on the topics of paragraphs and formating, how do you
format a paragraph. as in a block of text formated, to say 76
characters wraping words? (in vi)

yours,

kim
-- 
:Kim_Hawtin:--------------------------------------:-----------------:
| A.L. Digital Ltd.   Tel: +44 (20) 8742 0755     | "Time is an     |
| The Stores          Fax: +44 (20) 8742 5995     |  illusion.      |
| 2 Bath Road         http://www.thebunker.net    |  Lunch time,    |
| London W4 1LT       http://www.aldigital.co.uk  |  doubly so."    |
| UNITED KINGDOM      mailto:kim at aldigital.co.uk  |  - Ford Prefect |

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list