zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@zsh.org>
To: ml_zsh-workers@henk.geekmail.org
Cc: zsh-workers@zsh.org
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)
In-Reply-To: <20221231220451.448629a1@frustcomp.hnjs.home.arpa>

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


  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

Reply instructions:

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=93248-1673370418.501141@Mcax.qXnI.VRgM \
    --to=opk@zsh.org \
    --cc=ml_zsh-workers@henk.geekmail.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.vuxu.org/mirror/zsh/

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).