feat(plugin): No F1 (#88)
This commit is contained in:
parent
86eacea74d
commit
6afd959530
1 changed files with 17 additions and 0 deletions
17
src/plugins/noF1.ts
Normal file
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:",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
Loading…
Reference in a new issue