Skip to content

Commit e2587cf

Browse files
authored
feat(keyboardShortcut): change scroll top keybind (#3442)
1 parent cfcfe84 commit e2587cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Extensions/keyboardShortcut.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
j: { callback: () => createScrollCallback(SCROLL_STEP) },
4141
k: { callback: () => createScrollCallback(-SCROLL_STEP) },
4242

43-
// Scroll to the top ('g') or bottom ('Shift+g') of the page
44-
g: { callback: () => scrollToPosition(0) },
43+
// Scroll to the top ('gg') or bottom ('Shift+g') of the page
44+
"g g": { callback: () => scrollToPosition(0) },
4545
"shift+g": { callback: () => scrollToPosition(1) },
4646

4747
// Shift + H and Shift + L to go back and forward page

0 commit comments

Comments
 (0)