From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32648 invoked from network); 10 Jan 2023 17:07:25 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Jan 2023 17:07:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-ID:Date:Content-ID: Content-Type:MIME-Version:Subject:To:References:From:In-reply-to:cc:Reply-To: Content-Transfer-Encoding:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=iuwGlojKXZXyHgG/QY29ZxZmRrSK58mYHXzERJ702k0=; b=IFMbp6xlxTkhsyQHKFNbtefQRv 3yMcfAjUXq/fDSRh4Tw+qytftAtlTkiyOpOnJrQo+4ucnsDHa3YEw8EtlWvDoyQX41Tg4OLDuDej8 MlbLf8PvN0AQIEuftlJJEZ1NlYyuhkscniqzptGYEu+c0s7sREkQLl+ZoAw/b82RuzXmNZYiHkhkn ILflqwfdCttMwzSi5RjJi9Jdz2T48Zo8mOB1lGbodE7a6MVH57v4qD2aVpLByMpFdJO+7MO5AHzRo 0oCQ3+KlHSN1+ncXvq8kd+CoqbHAkFyRYZrtsGyDSp6dgWYlhSUdWU1xtRBnqQlKhava55G7Ig25w CmER5LWQ==; Received: by zero.zsh.org with local id 1pFI5t-000Akq-BK; Tue, 10 Jan 2023 17:07:25 +0000 Received: by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1pFI5T-000ARL-LB; Tue, 10 Jan 2023 17:06:59 +0000 Received: from [192.168.178.21] (helo=hydra) by mail.kiddle.eu with esmtp(Exim 4.95) (envelope-from ) id 1pFI5S-000OG1-GO; Tue, 10 Jan 2023 18:06:59 +0100 cc: zsh-workers@zsh.org In-reply-to: <20221231220451.448629a1@frustcomp.hnjs.home.arpa> From: Oliver Kiddle References: <20221231220451.448629a1@frustcomp.hnjs.home.arpa> To: ml_zsh-workers@henk.geekmail.org Subject: Re: make vi-*-word widgets respect WORDCHARS MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <93247.1673370418.1@hydra> Date: Tue, 10 Jan 2023 18:06:58 +0100 Message-ID: <93248-1673370418.501141@Mcax.qXnI.VRgM> X-Seq: 51293 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On 31 Dec, ml_zsh-workers@henk.geekmail.org wrote: > The vi-backward-kill-word widget does not seem to respect WORDCHARS: > Is this a bug or intended? It is intended. vi-backward-kill-word works in a vi compatible manner both in terms of word endings but also includes refusing to delete past the cursor position where the current insertion started. Did you want that behaviour? Vim relaxes that unless configured otherwise. > If intended: is there a different way of adjusting the behaviour of vi-backward-kill-word? No. But you can just bind Ctrl-W to backward-kill-word: bindkey '^W' backward-kill-word Oliver