mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-31 10:25:45 +01:00
Fix :map serialization bug.
--HG-- extra : rebase_source : bb62f05a95699fad0a64d07b35cd79fc653d89c7
This commit is contained in:
@@ -539,7 +539,7 @@ var Mappings = Module("mappings", {
|
||||
{
|
||||
command: "map",
|
||||
options: array([
|
||||
hive !== mappings.user && ["-group", hive.name],
|
||||
hive.name !== "user" && ["-group", hive.name],
|
||||
["-modes", uniqueModes(map.modes)],
|
||||
["-description", map.description],
|
||||
map.silent && ["-silent"]])
|
||||
@@ -568,12 +568,12 @@ var Mappings = Module("mappings", {
|
||||
commands.add([ch ? ch + "m[ap]" : "map"],
|
||||
"Map a key sequence" + modeDescription,
|
||||
function (args) { map(args, false); },
|
||||
opts);
|
||||
update({}, opts));
|
||||
|
||||
commands.add([ch + "no[remap]"],
|
||||
"Map a key sequence without remapping keys" + modeDescription,
|
||||
function (args) { map(args, true); },
|
||||
opts);
|
||||
update({}, opts));
|
||||
|
||||
commands.add([ch + "unm[ap]"],
|
||||
"Remove a mapping" + modeDescription,
|
||||
|
||||
Reference in New Issue
Block a user