Skip to content

Commit

Permalink
goofy key
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsderp authored Oct 3, 2023
1 parent 3560537 commit d671661
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/addons/addons/editor-extra-keys/_manifest_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ const manifest = {
"id": "twKeys",
"type": "boolean",
"default": false
},
{
"dynamic": true,
"name": "🐌",
"id": "snailKey",
"type": "boolean",
"default": false
}
],
"userscripts": [
Expand Down
7 changes: 7 additions & 0 deletions src/addons/addons/editor-extra-keys/userscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ export default async function ({ addon, msg }) {
]
);
}
if (addon.settings.get("snailKey")) {
keys.push(
...[
["🐌", "snail"],
]
);
}
}
return keys;
}
Expand Down

0 comments on commit d671661

Please sign in to comment.