Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add `editor::Rewrap` binding to Emacs keymaps (#33588)

Cole Miller521a22368113
diff --git a/assets/keymaps/linux/emacs.json b/assets/keymaps/linux/emacs.json
index d1453da4850..26482f66f50 100755
--- a/assets/keymaps/linux/emacs.json
+++ b/assets/keymaps/linux/emacs.json
@@ -59,7 +59,8 @@
"alt->": "editor::MoveToEnd", // end-of-buffer
"ctrl-l": "editor::ScrollCursorCenterTopBottom", // recenter-top-bottom
"ctrl-s": "buffer_search::Deploy", // isearch-forward
- "alt-^": "editor::JoinLines" // join-line
+ "alt-^": "editor::JoinLines", // join-line
+ "alt-q": "editor::Rewrap" // fill-paragraph
}
},
{
diff --git a/assets/keymaps/macos/emacs.json b/assets/keymaps/macos/emacs.json
index d1453da4850..26482f66f50 100755
--- a/assets/keymaps/macos/emacs.json
+++ b/assets/keymaps/macos/emacs.json
@@ -59,7 +59,8 @@
"alt->": "editor::MoveToEnd", // end-of-buffer
"ctrl-l": "editor::ScrollCursorCenterTopBottom", // recenter-top-bottom
"ctrl-s": "buffer_search::Deploy", // isearch-forward
- "alt-^": "editor::JoinLines" // join-line
+ "alt-^": "editor::JoinLines", // join-line
+ "alt-q": "editor::Rewrap" // fill-paragraph
}
},
{