diff options
author | Doug Kearns <dougkearns@gmail.com> | 2011-01-01 20:28:14 +1100 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2011-01-01 20:28:14 +1100 |
commit | 053ef860163cdde28a8fae9b6f21a4e0357a8f72 (patch) | |
tree | 0b161c92a16f5705c335f6046367ab5366d47fcc /common/content/dactyl.js | |
parent | d8bb3f4b3264b67271e24e59034cbe93f812d5a7 (diff) | |
download | pentadactyl-053ef860163cdde28a8fae9b6f21a4e0357a8f72.tar.gz |
Add <A-F1> to open the single unchunked help page.
Diffstat (limited to 'common/content/dactyl.js')
-rw-r--r-- | common/content/dactyl.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/common/content/dactyl.js b/common/content/dactyl.js index eca4e029..3e4400ad 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -1467,9 +1467,13 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { mappings: function () { mappings.add(modes.all, ["<F1>"], - "Open the help page", + "Open the introductory help page", function () { dactyl.help(); }); + mappings.add(modes.all, ["<A-F1>"], + "Open the single unchunked help page", + function () { ex.helpall(); }); + if (dactyl.has("session")) mappings.add([modes.NORMAL], ["ZQ"], "Quit and don't save the session", @@ -1790,7 +1794,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { [ { name: "h[elp]", - description: "Open the help page" + description: "Open the introductory help page" }, { name: "helpa[ll]", description: "Open the single unchunked help page" @@ -1802,7 +1806,6 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { command.description, function (args) { dactyl.assert(!args.bang, "E478: Don't panic!"); - dactyl.help(args.literalArg, unchunked); }, { argCount: "?", |