Date: Tue, 2 Jun 2020 18:14:34 -0000 (UTC) From: Christian Weisgerber <naddy@mips.inka.de> To: freebsd-questions@freebsd.org Subject: Re: nvi expandtab - tabs to spaces Message-ID: <slrnrdd5oa.qvj.naddy@lorvorc.mips.inka.de> References: <0c30ebf7-e5b1-6fcb-d81e-2a039415f8a1@chezmarcotte.ca> <CAEJNuHyDc%2B1hgg_UwDzuu=eskf-DhhoKU%2BjuF3LUL%2B2qQ919HQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-05-26, Ottavio Caruso via freebsd-questions <freebsd-questions@freebsd.org> wrote: > 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. Todd Miller added this feature very recently to OpenBSD's nvi: | commit ebcaf48cd321e191f80bc88097c598e86cc10bf5 | from: millert <millert@openbsd.org> | date: Thu Apr 30 10:40:21 2020 UTC | | Add an expandtab option, similar to what vim supports. | If set, expands tabs to spaces in insert mode as well as when | shifting and indenting/outdenting. If quoted with ^V, a literal | tab is inserted. Adapted from NetBSD, but this implementation | more closely matches vim's behavior. OK dlg@ -- Christian "naddy" Weisgerber naddy@mips.inka.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnrdd5oa.qvj.naddy>