From owner-freebsd-questions@freebsd.org Wed Jan 8 15:55:18 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B86541F2E65 for ; Wed, 8 Jan 2020 15:55:18 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47tDNP4nFDz3FlF for ; Wed, 8 Jan 2020 15:55:17 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mips.inka.de (news@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1ipDfo-0002sn-TV; Wed, 08 Jan 2020 16:55:08 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id 008FrVth092243 for ; Wed, 8 Jan 2020 16:53:31 +0100 (CET) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id 008FrVmU092242 for freebsd-questions@freebsd.org; Wed, 8 Jan 2020 16:53:31 +0100 (CET) (envelope-from news) To: freebsd-questions@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.questions Subject: Re: Substituting horizontal tab characters in vi Date: Wed, 8 Jan 2020 15:53:31 -0000 (UTC) Message-ID: References: <61189.1577922242@segfault.tristatelogic.com> User-Agent: slrn/1.0.3 (FreeBSD) X-Rspamd-Queue-Id: 47tDNP4nFDz3FlF X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of news@mips.inka.de has no SPF policy when checking 2a04:c9c7:0:1073:217:a4ff:fe3b:e77c) smtp.mailfrom=news@mips.inka.de X-Spamd-Result: default: False [3.60 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.94)[0.940,0]; NEURAL_SPAM_LONG(1.00)[0.995,0]; DMARC_NA(0.00)[inka.de]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[naddy@mips.inka.de,news@mips.inka.de]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; FROM_NEQ_ENVFROM(0.00)[naddy@mips.inka.de,news@mips.inka.de]; IP_SCORE(0.47)[ip: (1.24), ipnet: 2a04:c9c7::/32(0.62), asn: 202113(0.50), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2020 15:55:18 -0000 On 2020-01-01, "Ronald F. Guilmette" wrote: > Quiet simply, it used to be possible to use vi to make substitutions for > horizontal tab characters, say for example in the current line, by just > typing : (colon) to get to the vi "command prompt" and then typing "s" > (substitute command) followed by some delimiter, e.g. forward slash, > and then just hitting the tab key on my keyboard, followed by a closing > delimiter and then my substitution text followed by yet another closing > delimiter. The tab character is the default setting for the filec (file path completion) option. To disable this feature, set filec to an empty string: set filec="" See vi(1), filec. The default setting changed from empty to tab with the update to nvi-2. -- Christian "naddy" Weisgerber naddy@mips.inka.de