diff --git a/Extensions/keyboardShortcut.js b/Extensions/keyboardShortcut.js index fe9bb4948f..191dec45c0 100644 --- a/Extensions/keyboardShortcut.js +++ b/Extensions/keyboardShortcut.js @@ -31,7 +31,7 @@ // Rotate through sidebar items using Ctrl+Tab and Ctrl+Shift+Tab "ctrl+tab": { callback: () => rotateSidebar(1) }, "ctrl+shift+tab": { callback: () => rotateSidebar(-1) }, - + // Focus on the app content before scrolling using Shift+PageUp and Shift+PageDown "shift+pageup": { callback: () => focusOnApp() }, "shift+pagedown": { callback: () => focusOnApp() }, @@ -39,6 +39,10 @@ // Scroll actions using 'j' and 'k' keys j: { callback: () => createScrollCallback(SCROLL_STEP) }, k: { callback: () => createScrollCallback(-SCROLL_STEP) }, + + // Scroll half-page using 'u' and 'd' keys + d: { callback: () => createScrollCallback(SCROLL_STEP * 3) }, + u: { callback: () => createScrollCallback(-SCROLL_STEP * 3) }, // Scroll to the top ('gg') or bottom ('Shift+g') of the page "g g": { callback: () => scrollToPosition(0) },