Control+G (Ctrl+G) is a keyboard shortcut whose meaning depends on the program you're using. In most text editors and word processors, it opens a "Go To" dialog that jumps to a specific line or page; in browsers like Chrome, Firefox, and Edge it opens "Find Next," which jumps to the next match of your current search.
Where Ctrl+G Means "Go To"
In many writing and editing contexts, Ctrl+G is the Go To command. Instead of scrolling, you type a line number or page number and the cursor jumps straight there. This is especially useful in long documents and code files.
- Microsoft Word: Opens the Go To tab of the Find and Replace dialog, letting you jump to a page, section, bookmark, table, comment, or other element.
- Notepad++ and most code editors: Opens a "Go To Line" dialog so you can jump to a specific line number — handy when an error message cites a line.
- Excel: Opens the Go To dialog, which navigates to a named cell or range (F5 does the same thing). From there, "Special" selects blanks, formulas, or other cell types.
Ctrl+G in Web Browsers
In Chrome, Firefox, and Edge, Ctrl+G runs "Find Next": after you've entered a search term with Ctrl+F, pressing Ctrl+G jumps to the next occurrence. Shift+Ctrl+G jumps back to the previous match. In Firefox specifically, Ctrl+G also opens the quick-find bar if nothing is being searched yet.
Other Common Meanings by Application
- Gmail: Opens the search bar so you can find messages.
- Visual Studio Code: Go to Line/Column (Ctrl+Shift+G jumps to a symbol).
- Google Docs, Sheets, and Slides: Opens the Find and replace tools or, in some contexts, inserts a link (Ctrl+K also works for links).
- Discord: No default binding in the desktop app by default; many users rebind keys in settings, so behavior can vary by setup.
Because shortcuts are app-specific, the same key combination can do entirely different things in two programs open at the same time. The active (focused) window always decides which command runs.
Why G Stands for "Go"
The letter assignments in Ctrl shortcuts usually hint at their function: Ctrl+C for copy, Ctrl+V for paste (as in "moVe" historically), Ctrl+F for find, and Ctrl+G for go or find-next. This mnemonic convention dates back to early word processors and editors and carried into modern GUI software, which is why "G" almost always involves navigation or searching rather than formatting.
The Mac Equivalent
On macOS, the Command (⌘) key replaces Control for most shortcuts. ⌘+G is Find Next in Safari, Chrome, and most Mac apps, while ⌘+Shift+G goes to the previous match. In Finder, ⌘+Shift+G opens "Go to Folder," letting you type a path directly. Some apps also honor Ctrl+G, but Command is the standard modifier on Mac.
Common Problems and Fixes
- Ctrl+G does nothing: The app may not bind that shortcut at all, or the keyboard focus may be in a field that captures it (like some text inputs in web apps).
- It does something unexpected: A browser extension, input method, or remapped keyboard utility can override default shortcuts. Try a private/incognito window with extensions disabled to test.
- Sticky or stuck modifier keys: If Ctrl seems "stuck," check whether Sticky Keys or Filter Keys is enabled in your operating system's accessibility settings.
Related Shortcuts Worth Knowing
- Ctrl+F: Open the find/search bar.
- F5: In Excel, the same Go To dialog as Ctrl+G; in browsers, refresh the page.
- Ctrl+H: Find and replace in many editors, or history in browsers.
- Alt+G: In some Microsoft Office apps, inserts a field or activates a ribbon command depending on context.
Frequently Asked Questions
Is Ctrl+G the same as Ctrl+F?
No. Ctrl+F opens the search bar and lets you type a query; Ctrl+G (in browsers) continues an existing search by jumping to the next match. In Word and editors, Ctrl+G opens a Go To dialog for pages or lines instead.
How do I jump to a specific line number in a file?
In most code editors, including Notepad++, VS Code, and Sublime Text, press Ctrl+G, type the line number, and hit Enter. On a Mac it's usually ⌘+G or Ctrl+G depending on the editor.
What is Shift+Ctrl+G?
In browsers it means "find previous" — the reverse of Ctrl+G. In some editors it jumps to a symbol or matching bracket instead, so behavior depends on the application.
Why does Ctrl+G not work in my browser?
It only acts as Find Next when there's an active search from Ctrl+F. If no search term exists, it may do nothing or open the find bar, depending on the browser. Extensions can also intercept the shortcut.
Can I change what Ctrl+G does?
In many programs, yes. Editors like VS Code, Office apps, and Discord let you view or rebind keyboard shortcuts in their settings. Some system-wide tools can remap keys for any app, though defaults are usually best left alone to avoid confusion.