1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 02:35:47 +01:00

add bangAllowed property to Command's extraInfo to specify whether the bang

version of the command is available
This commit is contained in:
Doug Kearns
2008-10-04 09:00:36 +00:00
parent 690ce8d8e2
commit 156fa5d56f
16 changed files with 166 additions and 171 deletions

View File

@@ -202,14 +202,12 @@ liberator.Mappings = function () //{{{
liberator.commands.add([ch ? ch + "m[ap]" : "map"],
"Map a key sequence" + modeDescription,
function (args) { map(args, modes, false); },
{
completer: function (filter) liberator.completion.userMapping(filter, modes)
});
function (args) map(args, modes, false),
{ completer: function (filter) liberator.completion.userMapping(filter, modes) });
liberator.commands.add([ch + "no[remap]"],
"Map a key sequence without remapping keys" + modeDescription,
function (args) { map(args, modes, true); });
function (args) map(args, modes, true));
liberator.commands.add([ch + "mapc[lear]"],
"Remove all mappings" + modeDescription,
@@ -242,9 +240,7 @@ liberator.Mappings = function () //{{{
if (!found)
liberator.echoerr("E31: No such mapping");
},
{
completer: function (filter) liberator.completion.userMapping(filter, modes)
});
{ completer: function (filter) liberator.completion.userMapping(filter, modes) });
}
/////////////////////////////////////////////////////////////////////////////}}}