feat(plugin): No F1 (#88)
This commit is contained in:
parent
86eacea74d
commit
6afd959530
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 New Issue
Block a user