From: Oliver Kiddle <email@example.com>
Subject: Re: make vi-*-word widgets respect WORDCHARS
Date: Tue, 10 Jan 2023 18:06:58 +0100 [thread overview]
Message-ID: <93248-1673370418.501141@Mcax.qXnI.VRgM> (raw)
On 31 Dec, firstname.lastname@example.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
next prev parent reply other threads:[~2023-01-10 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-31 21:04 ml_zsh-workers
2023-01-10 17:06 ` Oliver Kiddle [this message]
2023-01-14 12:31 ` ml_zsh-workers
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).