mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 01:14:12 +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: function () {
|
||||||
mappings.add(modes.all, ["<F1>"],
|
mappings.add(modes.all, ["<F1>"],
|
||||||
"Open the help page",
|
"Open the introductory help page",
|
||||||
function () { dactyl.help(); });
|
function () { dactyl.help(); });
|
||||||
|
|
||||||
|
mappings.add(modes.all, ["<A-F1>"],
|
||||||
|
"Open the single unchunked help page",
|
||||||
|
function () { ex.helpall(); });
|
||||||
|
|
||||||
if (dactyl.has("session"))
|
if (dactyl.has("session"))
|
||||||
mappings.add([modes.NORMAL], ["ZQ"],
|
mappings.add([modes.NORMAL], ["ZQ"],
|
||||||
"Quit and don't save the session",
|
"Quit and don't save the session",
|
||||||
@@ -1790,7 +1794,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
name: "h[elp]",
|
name: "h[elp]",
|
||||||
description: "Open the help page"
|
description: "Open the introductory help page"
|
||||||
}, {
|
}, {
|
||||||
name: "helpa[ll]",
|
name: "helpa[ll]",
|
||||||
description: "Open the single unchunked help page"
|
description: "Open the single unchunked help page"
|
||||||
@@ -1802,7 +1806,6 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
command.description,
|
command.description,
|
||||||
function (args) {
|
function (args) {
|
||||||
dactyl.assert(!args.bang, "E478: Don't panic!");
|
dactyl.assert(!args.bang, "E478: Don't panic!");
|
||||||
|
|
||||||
dactyl.help(args.literalArg, unchunked);
|
dactyl.help(args.literalArg, unchunked);
|
||||||
}, {
|
}, {
|
||||||
argCount: "?",
|
argCount: "?",
|
||||||
|
|||||||
@@ -47,7 +47,8 @@ This file contains a list of all available commands, mappings and options.
|
|||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<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>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
|
|||||||
@@ -301,8 +301,9 @@
|
|||||||
</item>
|
</item>
|
||||||
|
|
||||||
<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>:helpa<oa>ll</oa> <oa>subject</oa></spec>
|
||||||
|
<spec><A-F1></spec>
|
||||||
<description>
|
<description>
|
||||||
<p>Open all help pages coalesced into a single page.</p>
|
<p>Open all help pages coalesced into a single page.</p>
|
||||||
|
|
||||||
|
|||||||
@@ -141,6 +141,7 @@
|
|||||||
- Add basic plugin authorship documentation.
|
- Add basic plugin authorship documentation.
|
||||||
- The help system is newly modularized and features significant
|
- The help system is newly modularized and features significant
|
||||||
updates, rewrites, and formatting improvements.
|
updates, rewrites, and formatting improvements.
|
||||||
|
- Added <A-F1> to open the single unchunked help page.
|
||||||
* Removed :beep.
|
* Removed :beep.
|
||||||
* Removed :edit, :tabedit, and :winedit aliases.
|
* Removed :edit, :tabedit, and :winedit aliases.
|
||||||
* Removed :play.
|
* Removed :play.
|
||||||
|
|||||||
Reference in New Issue
Block a user