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:
@@ -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) });
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////}}}
|
||||
|
||||
Reference in New Issue
Block a user