Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!mips!daver!kesa!jerry From: jerry@Kesa.COM (Jerry E. Dunmire) Newsgroups: comp.editors Subject: Question on tab stops in vi Summary: How can I get 4 space indents without changing tab stops? Keywords: vi tabs Message-ID: <1991May09.190644.13627@Kesa.COM> Date: 9 May 91 19:06:44 GMT Distribution: comp Organization: Kesa Corporation Lines: 22 Is there a way, short of changing editors, to deal with the following problem? Is there a way to get a 4 space indent in vi without changing tab stops? I've tried re-mapping the tab key, but without any luck. Background: We have a corporate style the calls for indenting blocks in 4 space increments. In older-simpler days, we set the tabstops in vi to 4, the hardtabs to 8, and used pr -e4 whenever we printed. But in today's environment things aren't so simple. There are such a wide variety of tools that we use, under both UNIX and MS-DOS, that specifying tab stops for each tool is a burden. In addition, many of the tools do not even support adjustable tab stops. Thanks in advance for you help. -- Jerry E. Dunmire Kesa Corporation net: jerry@kesa.com 4701 Patrick Henry Dr. - Suite 1801 att: (408) 748-1814 Santa Clara, CA 95054 USA