1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 05:02:26 +01:00

Add <A-F1> to open the single unchunked help page.

This commit is contained in:
Doug Kearns
2011-01-01 20:28:14 +11:00
parent d8bb3f4b32
commit 053ef86016
4 changed files with 11 additions and 5 deletions

View File

@@ -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: "?",