jeffreytse / zsh-vi-mode

πŸ’» A better and friendly vi(vim) mode plugin for ZSH.
MIT License
2.99k stars 103 forks source link

Unexpected behavior of `cw` #161

Open haifengkao opened 2 years ago

haifengkao commented 2 years ago

General information

Please report the following information as possible as you can:

Basic examination

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

jeffreytse commented 1 year ago

Hi @haifengkao

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

Thanks & Regards