feat(plugin): No F1 (#88)

This commit is contained in:
Cynthia Foxwell 2022-10-11 13:54:52 -06:00 committed by GitHub
parent 86eacea74d
commit 6afd959530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
src/plugins/noF1.ts Normal file

@ -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:",
},
},
],
});