Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!ames!ucbcad!ucbvax!decvax!dartvax!andyb From: andyb@dartvax.UUCP Newsgroups: comp.unix.questions Subject: Re: Replacing tabs in vi Message-ID: <5565@dartvax.UUCP> Date: Fri, 16-Jan-87 12:34:31 EST Article-I.D.: dartvax.5565 Posted: Fri Jan 16 12:34:31 1987 Date-Received: Sat, 17-Jan-87 16:09:35 EST References: <936@tekla.UUCP> Reply-To: andyb%burlcoat@dartvax.UUCP (Andy Behrens) Organization: Dartmouth College, Hanover, NH Lines: 12 Keywords: vi, tabs > Is there a way in vi to have spaces rather than tabs placed in the > text. First convert any tabs that are already in the file to spaces. Then set tabstops to a fairly large number. (It should be larger than number of spaces at the front of the most deeply indented line you expect to type). I use ts=60. The tab key on your keyboard will still insert tabs into the file, but at the start of a line you can use ^T and ^D to indent or undent. Andy Behrens