🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #1390

Re: damn tabs

#1390
From: tim
Date: Wed, 07 Oct 1992 07:47
17 lines
934 bytes
mch@sqwest.wimsey.bc.ca (Mark C. Henderson) writes:
::
|>   Right now I use the Unix "expand" command to remove all the
|>tabs, but it is a tedious process.  Is there a way to request
|>vi to replace the tabs with spaces before it saves the file?
:
|Is
|1G!Gexpand -4
|really all that tedious (of course replace -4 with your favourite width)?

Well it's one character more tedious than

:%!expand -4

Tx. [father forgive me]
-- 
Tim F O'Donoghue <tim@crash.canon.co.uk> <uunet!canon!tim>
Technical Details
Message-ID: <92Oct07.0847.25430@crash.canon.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!doc.ic.ac.uk!uknet!canon.co.uk!tim
References: <1992Oct6.040531.25139@cronkite.ocis.temple.edu> <1992Oct6.180939.16016@sqwest.wimsey.bc.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!doc.ic.ac.uk!uknet!canon.co.uk!tim
From: tim@crash.canon.co.uk
Newsgroups: comp.editors
Subject: Re: damn tabs
Message-ID: <92Oct07.0847.25430@crash.canon.co.uk>
Date: 7 Oct 92 07:47:48 GMT
References: <1992Oct6.040531.25139@cronkite.ocis.temple.edu> <1992Oct6.180939.16016@sqwest.wimsey.bc.ca>
Sender: Tim F O'Donoghue <uunet!canon!tim>
Organization: me myself and i
Lines: 17