From 95b2f4caf264c3e1e717b853a26a24a8538ff829 Mon Sep 17 00:00:00 2001 From: apricotbucket28 <71973804+apricotbucket28@users.noreply.github.com> Date: Thu, 21 Mar 2024 19:28:39 -0300 Subject: [PATCH] linux: fix word move/select shortcuts (#9673) `alt+left/right` are never used on Linux. The Linux keymap still has some other issues, but these shortcuts in particular are really common when editing text. Release Notes: - N/A --- assets/keymaps/default-linux.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json index 5bd9d58cbc..9bde3e5d97 100644 --- a/assets/keymaps/default-linux.json +++ b/assets/keymaps/default-linux.json @@ -75,9 +75,9 @@ "ctrl-b": "editor::MoveLeft", "ctrl-f": "editor::MoveRight", "ctrl-shift-l": "editor::NextScreen", // todo(linux): What is this - "alt-left": "editor::MoveToPreviousWordStart", + "ctrl-left": "editor::MoveToPreviousWordStart", "alt-b": "editor::MoveToPreviousWordStart", - "alt-right": "editor::MoveToNextWordEnd", + "ctrl-right": "editor::MoveToNextWordEnd", "alt-f": "editor::MoveToNextWordEnd", "ctrl-e": "editor::MoveToEndOfLine", "ctrl-home": "editor::MoveToBeginning", @@ -89,9 +89,9 @@ "ctrl-shift-b": "editor::SelectLeft", "shift-right": "editor::SelectRight", "ctrl-shift-f": "editor::SelectRight", - "alt-shift-left": "editor::SelectToPreviousWordStart", + "ctrl-shift-left": "editor::SelectToPreviousWordStart", "alt-shift-b": "editor::SelectToPreviousWordStart", - "alt-shift-right": "editor::SelectToNextWordEnd", + "ctrl-shift-right": "editor::SelectToNextWordEnd", "alt-shift-f": "editor::SelectToNextWordEnd", "ctrl-shift-up": "editor::SelectToStartOfParagraph", "ctrl-shift-down": "editor::SelectToEndOfParagraph",