From cd2533de5a3999aaa7b656c9d8ca8e0a7e0838aa Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Wed, 19 Jun 2024 17:27:40 +0200 Subject: [PATCH] linux: Scroll linewise up/down on ctrl-up/ctrl-down (#13269) This matches the behavior of VS Code and JetBrains. (Of course I implemented both actions myself before figuring out that we already have actions to scroll a line up and down.) Release Notes: - N/A --- assets/keymaps/default-linux.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json index ef8c6a0b26138a3177a48f0de7cd9232aa65287a..9529042c6b8f66e5e0a04e8b3ee71ec64ccbc0ba 100644 --- a/assets/keymaps/default-linux.json +++ b/assets/keymaps/default-linux.json @@ -59,12 +59,12 @@ "ctrl-z": "editor::Undo", "ctrl-shift-z": "editor::Redo", "up": "editor::MoveUp", - // "ctrl-up": "editor::MoveToStartOfParagraph", todo(linux) Should be "scroll down by 1 line" + "ctrl-up": "editor::LineUp", + "ctrl-down": "editor::LineDown", "pageup": "editor::PageUp", // "shift-pageup": "editor::MovePageUp", todo(linux) should be 'select page up' "home": "editor::MoveToBeginningOfLine", "down": "editor::MoveDown", - // "ctrl-down": "editor::MoveToEndOfParagraph", todo(linux) should be "scroll up by 1 line" "pagedown": "editor::PageDown", // "shift-pagedown": "editor::MovePageDown", todo(linux) should be 'select page down' "end": "editor::MoveToEndOfLine",