What does Ctrl+G do?
In VS Code, Ctrl+G means: Jump to a specific line number.
Where this shortcut applies
| App | Platform | What it does |
|---|---|---|
| VS Code | App context | Jump to a specific line number |
| Microsoft Word | App context | Navigate to a specific page, section, or bookmark |
| Microsoft Excel | App context | Navigate to a specific cell address or named range |
| Microsoft Excel | macOS | Navigate to a specific cell address or named range |
| Photoshop | App context | Group the selected layers into a folder |
| Figma | App context | Group the selected layers into a group |
| Slack | App context | Open the search bar to search all messages |
| Microsoft PowerPoint | App context | Group selected objects into a single unit |
| Google Sheets | App context | Open Go to Range dialog to navigate to a cell reference |
| Microsoft Outlook | App context | Open Go to Date dialog to jump to any date |
| Adobe Illustrator | App context | Group selected objects together |
| Canva | App context | Group the selected elements |
| IntelliJ IDEA | App context | Jump to a specific line number |
| Cursor | App context | Jump to a specific line number |
| Obsidian | App context | Open the global graph view to visualise all note connections |
| Google Slides | App context | Group selected objects together |
| Notepad++ | App context | Jump to a specific line number |
| Sublime Text | App context | Jump to a specific line number |
| Adobe Acrobat | App context | Find the next occurrence of the search term |
| Miro | App context | Group the selected items together |
Full shortcut pages
- VS Code shortcuts
- Microsoft Word shortcuts
- Microsoft Excel shortcuts
- Photoshop shortcuts
- Figma shortcuts
- Slack shortcuts
- Microsoft PowerPoint shortcuts
- Google Sheets shortcuts
- Microsoft Outlook shortcuts
- Adobe Illustrator shortcuts
- Canva shortcuts
- IntelliJ IDEA shortcuts
- Cursor shortcuts
- Obsidian shortcuts
- Google Slides shortcuts
- Notepad++ shortcuts
- Sublime Text shortcuts
- Adobe Acrobat shortcuts
- Miro shortcuts
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.