mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 03:17:58 +01:00
Make the scrolling mapping aliases consistent between code and docs as well as among themselves.
Fixes issue #601.
This commit is contained in:
@@ -1713,7 +1713,7 @@ var Buffer = Module("buffer", {
|
||||
function (args) { buffer._scrollByScrollSize(args.count, false); },
|
||||
{ count: true });
|
||||
|
||||
mappings.add([modes.COMMAND], ["<C-b>", "<PageUp>", "<S-Space>", "<scroll-page-up>"],
|
||||
mappings.add([modes.COMMAND], ["<C-b>", "<PageUp>", "<S-Space>", "<scroll-up-page>"],
|
||||
"Scroll up a full page",
|
||||
function (args) { buffer.scrollVertical("pages", -Math.max(args.count, 1)); },
|
||||
{ count: true });
|
||||
@@ -1727,7 +1727,7 @@ var Buffer = Module("buffer", {
|
||||
},
|
||||
{ count: true });
|
||||
|
||||
mappings.add([modes.COMMAND], ["<C-f>", "<PageDown>", "<scroll-page-down>"],
|
||||
mappings.add([modes.COMMAND], ["<C-f>", "<PageDown>", "<scroll-down-page>"],
|
||||
"Scroll down a full page",
|
||||
function (args) { buffer.scrollVertical("pages", Math.max(args.count, 1)); },
|
||||
{ count: true });
|
||||
|
||||
Reference in New Issue
Block a user