From 6afd959530c93b0fcea6520972adac142323b5c4 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Tue, 11 Oct 2022 13:54:52 -0600 Subject: feat(plugin): No F1 (#88) --- src/plugins/noF1.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/plugins/noF1.ts (limited to 'src/plugins/noF1.ts') diff --git a/src/plugins/noF1.ts b/src/plugins/noF1.ts new file mode 100644 index 0000000..e2f0462 --- /dev/null +++ b/src/plugins/noF1.ts @@ -0,0 +1,17 @@ +import definePlugin from "../utils/types"; +import { Devs } from "../utils/constants"; + +export default definePlugin({ + name: "No F1", + description: "Disables F1 help bind.", + authors: [Devs.Cyn], + patches: [ + { + find: ',"f1"],comboKeysBindGlobal:', + replacement: { + match: ',"f1"],comboKeysBindGlobal:', + replace: "],comboKeysBindGlobal:", + }, + }, + ], +}); -- cgit