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.

Fix alt-shift-(left|right) behaviour (#11292)

Dom Christief252d9cf676f
diff --git a/assets/keymaps/textmate.json b/assets/keymaps/textmate.json
index 3926e4e9420..c3947dc3ce3 100644
--- a/assets/keymaps/textmate.json
+++ b/assets/keymaps/textmate.json
@@ -39,13 +39,13 @@
"cmd-shift-left": "editor::SelectToBeginningOfLine",
"cmd-shift-right": "editor::SelectToEndOfLine",
"alt-shift-left": [
- "editor::SelectToBeginningOfLine",
+ "editor::SelectToPreviousWordStart",
{
"stop_at_soft_wraps": true
}
],
"alt-shift-right": [
- "editor::SelectToEndOfLine",
+ "editor::SelectToNextWordEnd",
{
"stop_at_soft_wraps": true
}