1
0
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:
Kris Maglione
2010-12-29 17:44:22 -05:00
parent 44bef3c828
commit 13e22f7458
5 changed files with 101 additions and 52 deletions

View File

@@ -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); });