# Fix VIM cw on last character of a word doesn't work as expected: \(\#10963\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/5c2f27a50158c64fadac890a0f7ed6a7d6d8e6f6)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 5c2f27a50158c64fadac890a0f7ed6a7d6d8e6f6

Requested commit: 5c2f27a50158c64fadac890a0f7ed6a7d6d8e6f6

Commit: 5c2f27a50158c64fadac890a0f7ed6a7d6d8e6f6

Tree: a363fb14ae439b848a70419a1b932ea443e4be1f

Author: Hans

Committer: GitHub

## Message

```
Fix VIM cw on last character of a word doesn't work as expected: (#10963)

At the moment, using the default expand_selection seems to do the job
well, without the need for some additional logic, which may also make
the code a little clearer, Fix #10945



Release Notes:


- N/A
```

## Parents

- [d9d509a2bb17d788b34fc614205e95c3bc1bbfd6](https://git.cafe/gitcafe/zed/commit/d9d509a2bb17d788b34fc614205e95c3bc1bbfd6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/5c2f27a50158c64fadac890a0f7ed6a7d6d8e6f6?format=markdown)
