1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 15:32:27 +01:00

Split Map.flags into individual properties of Map.

This commit is contained in:
Doug Kearns
2009-06-27 01:05:47 +10:00
parent 4afccff5e9
commit 6f2eb2d1ef
14 changed files with 139 additions and 124 deletions

View File

@@ -233,12 +233,12 @@ const config = { //{{{
mappings.add([modes.NORMAL],
["<C-a>"], "Increment last number in URL",
function (count) { incrementURL(Math.max(count, 1)); },
{ flags: Mappings.flags.COUNT });
{ count: true });
mappings.add([modes.NORMAL],
["<C-x>"], "Decrement last number in URL",
function (count) { incrementURL(-Math.max(count, 1)); },
{ flags: Mappings.flags.COUNT });
{ count: true });
mappings.add([modes.NORMAL], ["~"],
"Open home directory",
@@ -294,7 +294,7 @@ const config = { //{{{
else
liberator.open(url);
},
{ flags: Mappings.flags.COUNT });
{ count: true });
mappings.add([modes.NORMAL], ["gU"],
"Go to the root of the website",