# Preserve line mode selection on undo · gitcafe/zed

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

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

Visibility: public

Requested revision: eb0b2e60bb6c0ad727545663e6a048a537897044

Requested commit: eb0b2e60bb6c0ad727545663e6a048a537897044

Commit: eb0b2e60bb6c0ad727545663e6a048a537897044

Tree: de79ef72d9d03e4252493d35c2f2bccc045f144f

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
Preserve line mode selection on undo

This diverges from vim's behaviour (which collapses the
cursor to a single point on undo).

```

## Parents

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

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