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:
@@ -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: "?",
|
||||
|
||||
Reference in New Issue
Block a user