mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 16:57:59 +01:00
Make 'passunknown' a stringlist and localizate mode descriptions.
This commit is contained in:
@@ -1621,7 +1621,16 @@ var Buffer = Module("buffer", {
|
||||
function (args) { buffer.scrollVertical("pages", -Math.max(args.count, 1)); },
|
||||
{ count: true });
|
||||
|
||||
mappings.add([modes.COMMAND], ["<C-f>", "<PageDown>", "<Space>", "<scroll-page-down>"],
|
||||
mappings.add([modes.COMMAND], ["<Space>"],
|
||||
"Scroll down a full page",
|
||||
function (args) {
|
||||
if (isinstance(content.document.activeElement, [HTMLInputElement, HTMLButtonElement]))
|
||||
return Events.PASS;
|
||||
buffer.scrollVertical("pages", Math.max(args.count, 1));
|
||||
},
|
||||
{ count: true });
|
||||
|
||||
mappings.add([modes.COMMAND], ["<C-f>", "<PageDown>", "<scroll-page-down>"],
|
||||
"Scroll down a full page",
|
||||
function (args) { buffer.scrollVertical("pages", Math.max(args.count, 1)); },
|
||||
{ count: true });
|
||||
|
||||
Reference in New Issue
Block a user