From owner-freebsd-questions Tue Aug 14 6:39:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comp04.prc.uic.edu (comp04.prc.uic.edu [128.248.230.104]) by hub.freebsd.org (Postfix) with SMTP id B897C37B40E for ; Tue, 14 Aug 2001 06:39:22 -0700 (PDT) (envelope-from lucas@comp04.prc.uic.edu) Received: (qmail 73842 invoked by uid 1000); 14 Aug 2001 13:39:44 -0000 Date: Tue, 14 Aug 2001 08:39:44 -0500 From: Lucas Bergman To: John Fox Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Expanding tabs to spaces within nvi Message-ID: <20010814083944.D71404@comp04.prc.uic.edu> Reply-To: lucas@slb.to References: <20010813135928.I10559@mind.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010813135928.I10559@mind.net>; from jjf@mind.net on Mon, Aug 13, 2001 at 01:59:28PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I was just reading some indentation tips on the vim homepage, and > ran across a setting that causes vim to expand a tab into a sequence > of spaces. This is spiffy to me, because I like tabstops of 4, but > when anybody else gets my code in an editor, it looks funky till > they change their tabstop setting to match the original. > > Does anybody know if nvi can be made to do this? 1G!Gexpand -4 Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message