zsh-workers
 help / color / mirror / code / Atom feed
* make vi-*-word widgets respect WORDCHARS
@ 2022-12-31 21:04 ml_zsh-workers
  2023-01-10 17:06 ` Oliver Kiddle
  0 siblings, 1 reply; 3+ messages in thread
From: ml_zsh-workers @ 2022-12-31 21:04 UTC (permalink / raw)
  To: zsh-workers

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-14 12:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-31 21:04 make vi-*-word widgets respect WORDCHARS ml_zsh-workers
2023-01-10 17:06 ` Oliver Kiddle
2023-01-14 12:31   ` ml_zsh-workers

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