Subject: Help : Need to map TAB to # of spaces in VI
Message-ID: <538@heimdall.sdrc.com>
Date: 22 Jan 93 19:26:43 GMT
Sender: news@heimdall.sdrc.com
Followup-To: comp.editors
Organization: SDRC, Graphics and User Interface Group
Lines: 14
When I hit TAB in VI I want it to simply insert three spaces instead of an
actual TAB. I know I can set ts=3 and shiftwidth=3, etc. but I simply don't
want TABs in my file. I even defined a macro that substitued all TABs with three spaces (with the above settings) but this caused all sort of strange visual effects for obvious reasons. Is there a way to do this ?