mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 07:48:00 +01:00
Simplify some things that were decidedly unsimple.
--HG-- branch : groups
This commit is contained in:
@@ -633,7 +633,7 @@ var Mappings = Module("mappings", {
|
||||
names: ["-group", "-g"],
|
||||
description: "Mapping group to which to add this mapping",
|
||||
type: ArgType("map-group", function (group) isString(group) ? contexts.getGroup(group, "mappings") : group),
|
||||
get default() (contexts.context && contexts.context.group || contexts.user).subGroups.mappings,
|
||||
get default() (contexts.context && contexts.context.group || contexts.user).mappings,
|
||||
completer: function (context) completion.group(context)
|
||||
};
|
||||
let modeFlag = {
|
||||
|
||||
Reference in New Issue
Block a user