1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 06:34:13 +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: "?",

View File

@@ -47,7 +47,8 @@ This file contains a list of all available commands, mappings and options.
</dl>
<dl>
<dt><k name="F1"/></dt> <dd>Open help window</dd>
<dt><k name="F1"/></dt> <dd>Open the introductory help page</dd>
<dt><k name="A-F1"/></dt> <dd>Open the single unchunked help page</dd>
</dl>
<dl>

View File

@@ -301,8 +301,9 @@
</item>
<item>
<tags>:helpall :helpa help-all</tags>
<tags><![CDATA[<A-F1> :helpall :helpa help-all]]></tags>
<spec>:helpa<oa>ll</oa> <oa>subject</oa></spec>
<spec>&lt;A-F1></spec>
<description>
<p>Open all help pages coalesced into a single page.</p>

View File

@@ -141,6 +141,7 @@
- Add basic plugin authorship documentation.
- The help system is newly modularized and features significant
updates, rewrites, and formatting improvements.
- Added <A-F1> to open the single unchunked help page.
* Removed :beep.
* Removed :edit, :tabedit, and :winedit aliases.
* Removed :play.