From: Steve Chapin (sjc@cs.purdue.EDU)
Date: 07/22/92


From: sjc@cs.purdue.EDU (Steve Chapin)
Subject: Re: FLT_DIG, tabs, FPU, yacc
Date: 22 Jul 1992 09:08:36 GMT


}} In article <1992Jul22.082501.20615@athena.mit.edu> J.Jagger@sheffield-city-poly.ac.uk writes:
}}
}} Couple of other queries.
}} 1. I hate a tab size of 8 in vi. I much prefer 4. How can I change
}} this. Is there a port of tabs* anywhere?

Depends on what you want. If you just want them to appear as 4 space
tabs (and don't care how it's actually stored in the file), you can
set your tabstop to 4 spaces via

set ts=4

If you want to make tabs map to 4 spaces in input mode, it's

map! ^V^I ^V <cr>

The ! means input mode, not command mode.

This doesn't quite do what you might want in all cases, as it
literally expands the tab to 4 spaces.

Both examples are for your .exrc file.

}} :: Jon Jagger asjrbj@oak.scp.ac.uk

sjc@cs.purdue.edu Steve Chapin Today's Grammar Lesson:
                The effect of his affected accent affected her,
                   and effected a change in her affections.

             If I don't want it in my back yard, I don't want it.