Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!ux1.cso.uiuc.edu!midway!clout!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.editors Subject: Re: vi and emacs Keywords: vi emacs Message-ID: <1991Jun11.203851.26928@chinet.chi.il.us> Date: 11 Jun 91 20:38:51 GMT References: <1991Jun1.021505.4043@trl.oz.au> <1991Jun03.151727.9944@chinet.chi.il.us> <1148@iris.mincom.oz.au> Distribution: comp Organization: Chinet - Chicago Public Access UNIX Lines: 14 In article <1148@iris.mincom.oz.au> lattice@iris.mincom.oz.au () writes: >I am a recent *convert* to emacs from vi, but I recognise that they are both >valuable tools, though emacs is now my editor of choice. >With reference to the above I would say two things: > 1. There is no need to use an external program for indentation - > vi has an autoindent mode, invoked using > :set autoindent That's fine for typing entirely new code, but what do you do when you add or delete a loop surrounding existing code and want the indentation fixed?. I usually just pipe through cb. Les Mikesell les@chinet.chi.il.us