# git: Hard wrap in editor \(\#26507\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c8b782d87055f9024095b6cc13d5721f529be4bc

Requested commit: c8b782d87055f9024095b6cc13d5721f529be4bc

Commit: c8b782d87055f9024095b6cc13d5721f529be4bc

Tree: 12be90981dac9424278c58bac16500322a3af2e3

Author: Conrad Irwin

Committer: GitHub

## Message

```
git: Hard wrap in editor  (#26507)

This adds the ability for the editor to implement hard wrap (similar to
"textwidth" in vim).

If you are typing and your line extends beyond the limit, a newline is
inserted before the most recent space on the line. If you are otherwise
editing the line, pasting, etc. then you will need to manually rewrap.

Release Notes:

- git: Commit messages are now wrapped "as you type" to 72 characters.
```

## Parents

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

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