ITADN

Erroneous behavior of "cw"?

#194Openlarsks 创建于 2026-02-18
L
larskscommented
While working with nextvi, I've noticed that the `cw` command doesn't seem to work as expected. Consider the following text: ``` This is a test. ``` If I place the cursor on `is` and enter the following sequence: ``` cwwas<ESC> ``` I end up with: ``` This wasa test. ``` That is, the `w` movement command is selecting the space following the word. This behavior is different than: - `vi` in 4.3BSD - `vi` in SunOS 4.1.4 - `vim` and `neovim` - Busybox `vi` For fingers that have been trained by decades of the standard `vi` behavior, this makes using `nextvi` frustrating.
4 条评论