What does Ctrl+G do?

In VS Code, Ctrl+G means: Jump to a specific line number.

Where this shortcut applies

What does Ctrl+G do?
AppPlatformWhat it does
VS CodeApp contextJump to a specific line number
Microsoft WordApp contextNavigate to a specific page, section, or bookmark
Microsoft ExcelApp contextNavigate to a specific cell address or named range
Microsoft ExcelmacOSNavigate to a specific cell address or named range
PhotoshopApp contextGroup the selected layers into a folder
FigmaApp contextGroup the selected layers into a group
SlackApp contextOpen the search bar to search all messages
Microsoft PowerPointApp contextGroup selected objects into a single unit
Google SheetsApp contextOpen Go to Range dialog to navigate to a cell reference
Microsoft OutlookApp contextOpen Go to Date dialog to jump to any date
Adobe IllustratorApp contextGroup selected objects together
CanvaApp contextGroup the selected elements
IntelliJ IDEAApp contextJump to a specific line number
CursorApp contextJump to a specific line number
ObsidianApp contextOpen the global graph view to visualise all note connections
Google SlidesApp contextGroup selected objects together
Notepad++App contextJump to a specific line number
Sublime TextApp contextJump to a specific line number
Adobe AcrobatApp contextFind the next occurrence of the search term
MiroApp contextGroup the selected items together

Full shortcut pages

Frequently asked questions

What does Ctrl+G do?
In VS Code, Ctrl+G means: Jump to a specific line number.
Does this shortcut work the same way in every app?
No. The listed contexts include VS Code, Microsoft Word, Microsoft Excel, Photoshop, Figma, Slack, Microsoft PowerPoint, Google Sheets, Microsoft Outlook, Adobe Illustrator, Canva, IntelliJ IDEA, Cursor, Obsidian, Google Slides, Notepad++, Sublime Text, Adobe Acrobat, Miro. Check the table for each application and platform: the active window, keyboard layout and application settings determine which command receives the key press. An application being available on an operating system is not evidence that this exact binding works there.
What should I use on a Mac?
Use a macOS binding shown in the table, if one is recorded for your task and application. This page does not assume that replacing Ctrl with Cmd produces a working Mac shortcut. When an equivalent has not been documented, open the linked application reference and check its documented context before relying on it.