From 5e70b145ff3b034cb9c7e26914bf0d8d01fea12e Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sat, 17 Jan 2026 12:28:02 -0500 Subject: [PATCH] BetterCommands: Do CTRL Shift Enter --- src/equicordplugins/betterCommands/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equicordplugins/betterCommands/index.ts b/src/equicordplugins/betterCommands/index.ts index 84f1e6d98..63bf1eb45 100644 --- a/src/equicordplugins/betterCommands/index.ts +++ b/src/equicordplugins/betterCommands/index.ts @@ -17,7 +17,7 @@ const settings = definePluginSettings({ default: true, }, allowNewlinesInCommands: { - description: "Allow newlines in command inputs (Shift + Enter)", + description: "Allow newlines in command inputs (CTRL + Shift + Enter)", type: OptionType.BOOLEAN, default: true, } @@ -54,7 +54,7 @@ export default definePlugin({ match: /case (\i\.\i)\.TAB:if\(null!=(\i).selection&&\i\((\i)(?=.{0,300}(\i\.\i\.insertText))/, replace: (orig, keys, editor, event, insertText) => { return `case ${keys}.ENTER: - if(${event}.shiftKey){ + if(${event}.shiftKey && ${event}.ctrlKey){ ${event}.preventDefault(); ${event}.stopPropagation(); ${insertText}(${editor},'\\n');