From 35e5aa4e71baeee1eb8b6afa832b28ed6a0f13cf Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Mon, 15 Sep 2025 09:18:07 -0600 Subject: [PATCH] Re-add VSCode syntax node motions (#38208) Closes #ISSUE Release Notes: - (preview only) restored ctrl-shift-{left,right} for Larger/Smaller syntax node. This is VSCode's default and avoids the breaking change from #37874 --- assets/keymaps/default-windows.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/keymaps/default-windows.json b/assets/keymaps/default-windows.json index e5839964ad545f3994d675da817a5f4571b88db4..78d5e4e698daefee5a57b04d6a8548fb948233b1 100644 --- a/assets/keymaps/default-windows.json +++ b/assets/keymaps/default-windows.json @@ -497,6 +497,8 @@ "shift-alt-down": "editor::DuplicateLineDown", "shift-alt-right": "editor::SelectLargerSyntaxNode", // Expand selection "shift-alt-left": "editor::SelectSmallerSyntaxNode", // Shrink selection + "ctrl-shift-right": "editor::SelectLargerSyntaxNode", // Expand selection (VSCode version) + "ctrl-shift-left": "editor::SelectSmallerSyntaxNode", // Shrink selection (VSCode version) "ctrl-shift-l": "editor::SelectAllMatches", // Select all occurrences of current selection "ctrl-f2": "editor::SelectAllMatches", // Select all occurrences of current word "ctrl-d": ["editor::SelectNext", { "replace_newest": false }], // editor.action.addSelectionToNextFindMatch / find_under_expand