From f1f4a04125c4d8719b03400739d28eb4396a5d50 Mon Sep 17 00:00:00 2001 From: cleardatasolutions Date: Thu, 3 Apr 2025 12:26:56 -0700 Subject: [PATCH] Added Ctrl+PgUp, Ctrl+PgDown, Ctrl+Shift+PgUp, Ctrl+Shift+PgDown Added ability to move cursor to top or bottom visible line of document, along with ability to select while doing the same. --- package.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/package.json b/package.json index c4bb598..23d269a 100644 --- a/package.json +++ b/package.json @@ -90,6 +90,40 @@ "key": "ctrl+shift+r", "command": "refreshIntellisenseKeyboardAction", "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "ctrl+pageup", + "command": "cursorMove", + "when": "editorTextFocus", + "args": { + "to": "viewPortTop" + } + }, + { + "key": "ctrl+pagedown", + "command": "cursorMove", + "when": "editorTextFocus", + "args": { + "to": "viewPortBottom" + } + }, + { + "key": "ctrl+shift+pageup", + "command": "cursorMove", + "when": "editorTextFocus", + "args": { + "to": "viewPortTop", + "select":true + } + }, + { + "key": "ctrl+shift+pagedown", + "command": "cursorMove", + "when": "editorTextFocus", + "args": { + "to": "viewPortBottom", + "select":true + } } ] }