mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 23:14:12 +01:00
Addenda and corrigenda for the last and next to next to last commits.
This commit is contained in:
@@ -204,7 +204,7 @@ const Command = Class("Command", {
|
||||
/** @property {string[]} All of this command's long and short names. */
|
||||
names: null,
|
||||
|
||||
/** @property {string} This command's description, as shown in :exusage */
|
||||
/** @property {string} This command's description, as shown in :listcommands */
|
||||
description: "",
|
||||
/**
|
||||
* @property {function (Args)} The function called to execute this command.
|
||||
|
||||
@@ -1716,13 +1716,6 @@ const Dactyl = Module("dactyl", {
|
||||
},
|
||||
{ argCount: "?" });
|
||||
|
||||
commands.add(["exu[sage]"],
|
||||
"List all Ex commands with a short description",
|
||||
function (args) { Dactyl.showHelpIndex("ex-cmd-index", commands, args.bang); }, {
|
||||
argCount: "0",
|
||||
bang: true
|
||||
});
|
||||
|
||||
[
|
||||
{
|
||||
name: "h[elp]",
|
||||
@@ -1777,14 +1770,6 @@ const Dactyl = Module("dactyl", {
|
||||
literal: 0
|
||||
});
|
||||
|
||||
commands.add(["optionu[sage]"],
|
||||
"List all options with a short description",
|
||||
function (args) { Dactyl.showHelpIndex("option-index", options, args.bang); },
|
||||
{
|
||||
argCount: "0",
|
||||
bang: true
|
||||
});
|
||||
|
||||
commands.add(["q[uit]"],
|
||||
dactyl.has("tabs") ? "Quit current tab" : "Quit application",
|
||||
function (args) {
|
||||
@@ -1961,12 +1946,6 @@ const Dactyl = Module("dactyl", {
|
||||
bang: true
|
||||
});
|
||||
|
||||
commands.add(["viu[sage]"],
|
||||
"List all mappings with a short description",
|
||||
function (args) { Dactyl.showHelpIndex("normal-index", mappings, args.bang); }, {
|
||||
argCount: "0",
|
||||
bang: true
|
||||
});
|
||||
},
|
||||
|
||||
completion: function () {
|
||||
|
||||
@@ -50,7 +50,7 @@ const Map = Class("Map", {
|
||||
names: null,
|
||||
/** @property {function (number)} The function called to execute this mapping. */
|
||||
action: null,
|
||||
/** @property {string} This mapping's description, as shown in :viusage. */
|
||||
/** @property {string} This mapping's description, as shown in :listkeys. */
|
||||
description: "",
|
||||
|
||||
/** @property {boolean} Whether this mapping accepts an argument. */
|
||||
|
||||
@@ -270,7 +270,7 @@ const Option = Class("Option", {
|
||||
scope: 1, // Option.SCOPE_GLOBAL // XXX set to BOTH by default someday? - kstep
|
||||
|
||||
/**
|
||||
* @property {string} This option's description, as shown in :optionusage.
|
||||
* @property {string} This option's description, as shown in :listoptions.
|
||||
*/
|
||||
description: "",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user