# vim: Update \`vi\{\` \(\#24601\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 236f51cddda3a0715878416eb2f4b2f4adb21623

Requested commit: 236f51cddda3a0715878416eb2f4b2f4adb21623

Commit: 236f51cddda3a0715878416eb2f4b2f4adb21623

Tree: 630797902440f22cc99d63d87b34c2b479397087

Author: 5brian

Committer: GitHub

## Message

```
vim: Update `vi{` (#24601)

Small fix: Following up on
https://github.com/zed-industries/zed/pull/24518 where i missed `vi{`.

Matching neovim(tree-sitter), `vi{` should not have the newline selected
(Now `vi{d`/`vi{c` can match `di{`/`ci{`).

Also moved the cursor to the start.

|prev|new|neovim|
|---|---|---|

|![image](https://github.com/user-attachments/assets/0311fbe5-df2e-4feb-977d-de33a3af7fdc)|![image](https://github.com/user-attachments/assets/a940c6ba-268b-4401-8c43-38ca17848542)|![image](https://github.com/user-attachments/assets/dab2c47d-660c-4ae3-bf79-635265222cc1)|

Release Notes:

- N/A
```

## Parents

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

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