From d08d9d3f49bf48d295c32f047a2102cd036358e7 Mon Sep 17 00:00:00 2001 From: kit Date: Tue, 21 Oct 2025 21:08:10 -0400 Subject: [PATCH] Change `Go to Line` default shortcut to `Ctrl+G` --- editor/script/script_text_editor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/script/script_text_editor.cpp b/editor/script/script_text_editor.cpp index d661ec1ae3e..8e17183df8f 100644 --- a/editor/script/script_text_editor.cpp +++ b/editor/script/script_text_editor.cpp @@ -3164,7 +3164,8 @@ void ScriptTextEditor::register_editor() { ED_SHORTCUT("script_text_editor/goto_function", TTRC("Go to Function..."), KeyModifierMask::ALT | KeyModifierMask::CTRL | Key::F); ED_SHORTCUT_OVERRIDE("script_text_editor/goto_function", "macos", KeyModifierMask::CTRL | KeyModifierMask::META | Key::J); - ED_SHORTCUT("script_text_editor/goto_line", TTRC("Go to Line..."), KeyModifierMask::CMD_OR_CTRL | Key::L); + ED_SHORTCUT("script_text_editor/goto_line", TTRC("Go to Line..."), KeyModifierMask::CMD_OR_CTRL | Key::G); + ED_SHORTCUT_OVERRIDE("script_text_editor/goto_line", "macos", KeyModifierMask::CMD_OR_CTRL | Key::L); ED_SHORTCUT("script_text_editor/goto_symbol", TTRC("Lookup Symbol")); ED_SHORTCUT("script_text_editor/toggle_breakpoint", TTRC("Toggle Breakpoint"), Key::F9);