zed/assets/keymaps
Conrad Irwin 94189e1784
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>
2025-01-21 10:18:25 -05:00
..
linux Add emacs mark mode (#23297) 2025-01-21 10:18:25 -05:00
macos Add emacs mark mode (#23297) 2025-01-21 10:18:25 -05:00
default-linux.json Prefer later bindings in keymap section for display in UI (#23378) 2025-01-20 23:20:15 +00:00
default-macos.json Prefer later bindings in keymap section for display in UI (#23378) 2025-01-20 23:20:15 +00:00
initial.json Use lowercase command names in initial settings files (#15717) 2024-08-03 09:35:09 -04:00
storybook.json Prefer later bindings in keymap section for display in UI (#23378) 2025-01-20 23:20:15 +00:00
vim.json Prefer later bindings in keymap section for display in UI (#23378) 2025-01-20 23:20:15 +00:00