Skip to content
Closed
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Extensions/keyboardShortcut.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,18 @@
// 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() },

// 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) },
Expand Down
Loading