zsh-vi-mode icon indicating copy to clipboard operation
zsh-vi-mode copied to clipboard

Unexpected behavior of `cw`

Open haifengkao opened this issue 3 years ago β€’ 1 comments

General information

Please report the following information as possible as you can:

  • Terminal program: iTerm 3.4.15
  • Operating system: macOS 12.1
  • ZSH framework: zinit
  • ZSH version: zsh 5.8 (x86_64-apple-darwin21.0)

Basic examination

  • [x] I have read through the README page
  • [x] I have the latest version of zsh-vi-mode
  • [x] I have tested with another terminal program

Problem description

cw will delete two words instead of one when the first word contains only single character

Reproduction steps

  1. 1 2 3 4 5 ζˆͺεœ– 2022-01-27 δΈ‹εˆ8 03 57

  2. type cw

  3. the buffer becomes 3 4 5 ζˆͺεœ– 2022-01-27 δΈ‹εˆ8 04 16

Expected behavior

should be 2 3 4 5 instead

haifengkao avatar Jan 27 '22 12:01 haifengkao

Hi @haifengkao

Thanks for your reporting and now this issue has been settled down. : )

Thanks & Regards

jeffreytse avatar Apr 26 '23 01:04 jeffreytse