Skip to content

Commit d08d9d3

Browse files
committed
Change Go to Line default shortcut to Ctrl+G
1 parent c7b1767 commit d08d9d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

editor/script/script_text_editor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3164,7 +3164,8 @@ void ScriptTextEditor::register_editor() {
31643164
ED_SHORTCUT("script_text_editor/goto_function", TTRC("Go to Function..."), KeyModifierMask::ALT | KeyModifierMask::CTRL | Key::F);
31653165
ED_SHORTCUT_OVERRIDE("script_text_editor/goto_function", "macos", KeyModifierMask::CTRL | KeyModifierMask::META | Key::J);
31663166

3167-
ED_SHORTCUT("script_text_editor/goto_line", TTRC("Go to Line..."), KeyModifierMask::CMD_OR_CTRL | Key::L);
3167+
ED_SHORTCUT("script_text_editor/goto_line", TTRC("Go to Line..."), KeyModifierMask::CMD_OR_CTRL | Key::G);
3168+
ED_SHORTCUT_OVERRIDE("script_text_editor/goto_line", "macos", KeyModifierMask::CMD_OR_CTRL | Key::L);
31683169
ED_SHORTCUT("script_text_editor/goto_symbol", TTRC("Lookup Symbol"));
31693170

31703171
ED_SHORTCUT("script_text_editor/toggle_breakpoint", TTRC("Toggle Breakpoint"), Key::F9);

0 commit comments

Comments
 (0)