# vim: Fix \`r enter\` indentation \(\#29838\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c56a1cf2b14fcf573c407ff0b1d74ec7562be778

Requested commit: c56a1cf2b14fcf573c407ff0b1d74ec7562be778

Commit: c56a1cf2b14fcf573c407ff0b1d74ec7562be778

Tree: 7f24e33ebe2fd602f02b20faed4fd9fa16e94999

Author: AidanV

Committer: GitHub

## Message

```
vim: Fix `r enter` indentation (#29838)

Release Notes:

- `r enter` now maintains indentation, matching vim

Useful info for this implementation can be found here:

https://github.com/vim/vim/blob/c3f48e3a76c61884d7801171ced327b76965bf29/src/normal.c#L4865
```

## Parents

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

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