# Add emacs mark mode \(\#23297\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 94189e178465909ccd4947aaa30d3795bd6bbab1

Requested commit: 94189e178465909ccd4947aaa30d3795bd6bbab1

Commit: 94189e178465909ccd4947aaa30d3795bd6bbab1

Tree: 6b3265ce19cba594c0eaebd4a73511dffae46f5f

Author: Conrad Irwin

Committer: GitHub

## Message

```
Add emacs mark mode (#23297)

Updates #21927
Replaces https://github.com/zed-industries/zed/pull/22904
Closes #8580

Adds actions (default keybinds with emacs keymap):
- editor::SetMark (`ctrl-space` and `ctrl-@`)
- editor::ExchangeMark (`ctrl-x ctrl-x`)

Co-Authored-By: Peter <peter@zed.dev>

Release Notes:

- Add Emacs mark mode (`ctrl-space` / `ctrl-@` to set mark; `ctrl-x
ctrl-x` to swap mark/cursor)
- Breaking change: `selection` keyboard context has been replaced with
`selection_mode`

---------

Co-authored-by: Peter <peter@zed.dev>
```

## Parents

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

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