Updated: 10/07/2019 by Computer Hope

Alternatively referred to as Control G and C-g, Ctrl+G is a shortcut key most often used to go to a line or page.

How to use the Ctrl+G shortcut key

To use the keyboard shortcut Ctrl+G, press and hold either Ctrl key on the keyboard and while continuing to hold, press the "G" key with either hand.


On Apple computer keyboards, the Ctrl key is labeled as "control."

Ctrl+G in Chrome, Firefox, and Opera

In Chrome, Firefox, and Opera, pressing Ctrl+G advances to the next result in the find results. For example, if you use Ctrl+F to find text in the browser window, pressing Ctrl+G will advance to the next found result.


You can also press Enter to advance to the next result.

Ctrl+G in Excel and other spreadsheet programs

In Microsoft Excel and most other spreadsheet programs, pressing Ctrl+G opens the Go To window that allows you to go to a specific reference (cell). For example, you could press Ctrl+G, type n8, and press Enter to move to the N8 cell.

Ctrl+G in most text editors and IDEs

In most text editors and IDEs, the Ctrl+G shortcut is used to go to a specific line in the file. For example, you could press Ctrl+G to open the Go To Line window, type 100, and press Enter to go to the 100th line in the file.

Below are links to related keyboard key and keyboard shortcut pages.

Ctrl, G, Go to, Keyboard terms, Shortcut key