# Add newline above and improve newline below · gitcafe/zed

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

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

Visibility: public

Requested revision: f9c60b98c040a49aa5c528e405187bd0c1dc3c3f

Requested commit: f9c60b98c040a49aa5c528e405187bd0c1dc3c3f

Commit: f9c60b98c040a49aa5c528e405187bd0c1dc3c3f

Tree: 02645e5fb79844a2cf2e07c9bcb29a32c1e28a9a

Author: Petros Amoiridis

Committer: Petros Amoiridis

## Message

```
Add newline above and improve newline below

Add a new action for inserting a new line above the current line. @ForLoveOfCats  also helped fix a bug among other things. When two collaborators had their cursors at the end of a line, and one collaborator performed a newline below action, the second collaborator's cursor would be dragged to the new line. This is also fixing that.

Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>

```

## Parents

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

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