Date: Tue, 26 May 2020 16:08:29 +0100 From: Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> To: "Derek (freebsd lists)" <482254ac@razorfever.net> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: nvi expandtab - tabs to spaces Message-ID: <CAEJNuHyDc%2B1hgg_UwDzuu=eskf-DhhoKU%2BjuF3LUL%2B2qQ919HQ@mail.gmail.com> In-Reply-To: <0c30ebf7-e5b1-6fcb-d81e-2a039415f8a1@chezmarcotte.ca> References: <0c30ebf7-e5b1-6fcb-d81e-2a039415f8a1@chezmarcotte.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 May 2020 at 14:48, Derek (freebsd lists) <482254ac@razorfever.net> wrote: > > Hiya, > > After all these years, I'm finally wanting to switch tabs to spaces for > certain documents (yaml comes to mind, python another), but I'm finding > the FreeBSD nvi lacks expandtab, yet OpenBSD's (as of 6.7) supports this > option. > > What is the canonical way to use space indentation in FreeBSD's nvi? > > Is there any appetite (from committers) for a patch/import of the > feature from OpenBSD? What version of vi is on OpenBSD 6.7? On my 6.6 [Version 1.79 (10/23/96)] the expandtab is not available, but on NetBSD 9.0 [Version (1.81.6-2013-11-20nb4], it is. Be careful importing features from the 1.xx branch to the 2.x.x., the one in FreeBSD. -- Ottavio Caruso
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJNuHyDc%2B1hgg_UwDzuu=eskf-DhhoKU%2BjuF3LUL%2B2qQ919HQ>