From: ml_zsh-workers@henk.geekmail.org
To: zsh-workers@zsh.org
Subject: make vi-*-word widgets respect WORDCHARS
Date: Sat, 31 Dec 2022 22:04:51 +0100 [thread overview]
Message-ID: <20221231220451.448629a1@frustcomp.hnjs.home.arpa> (raw)
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
Hi
The vi-backward-kill-word widget does not seem to respect WORDCHARS:
```
frustcomp% zsh -f
frustcomp% bindkey "^W"
"^W" vi-backward-kill-word
frustcomp% mkdir /tmp/foo_bar
frustcomp% ls /tmp/
frustcomp% WORDCHARS='*?-.[]~=/&;!#$%^(){}<>'
frustcomp% ls /tmp/foo_bar
```
typing ^W at this point will delete 'foo_bar'.
I expect it to only delete 'bar', though, as that is what backward-kill-word does.
Is this a bug or intended?
If intended: is there a different way of adjusting the behaviour of vi-backward-kill-word?
Thank you
henk
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2022-12-31 21:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-31 21:04 ml_zsh-workers [this message]
2023-01-10 17:06 ` Oliver Kiddle
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=20221231220451.448629a1@frustcomp.hnjs.home.arpa \
--to=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).