mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 22:37:58 +01:00
Add :hi -link.
--HG-- extra : rebase_source : 9bc26b19eac01350323073212d12a91fd2f31189
This commit is contained in:
@@ -1700,7 +1700,6 @@ var CommandLine = Module("commandline", {
|
||||
res = default_;
|
||||
else
|
||||
res = action.call(command);
|
||||
util.dump(String.quote(command), res, !!test, test && test(command));
|
||||
|
||||
if (res === PASS || res === DROP)
|
||||
modes.pop();
|
||||
@@ -1727,10 +1726,14 @@ var CommandLine = Module("commandline", {
|
||||
function () { Buffer.scrollVertical(body(), "pages", .5); },
|
||||
function () atEnd(1), PASS);
|
||||
|
||||
bind(["<C-f>", "<Space>", "<PageDown>"], "Scroll down one page",
|
||||
bind(["<C-f>", "<PageDown>"], "Scroll down one page",
|
||||
function () { Buffer.scrollVertical(body(), "pages", 1); },
|
||||
function () !atEnd(1), PASS);
|
||||
|
||||
bind(["<Space>"], "Scroll down one page",
|
||||
function () { Buffer.scrollVertical(body(), "pages", 1); },
|
||||
function () !atEnd(1), DROP);
|
||||
|
||||
bind(["<C-u>"], "Scroll up half a page",
|
||||
function () { Buffer.scrollVertical(body(), "pages", -.5); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user