← Useful Tips
VS CodeVscode

Ctrl + G: Jump directly to a line number

Use Ctrl + G to jump directly to a line number. It keeps your hands on the keyboard while navigating large codebases.

Ctrl + G

Why it helps

Use Ctrl + G to jump directly to a line number. It keeps your hands on the keyboard while navigating large codebases.

How to use it

  1. Open the relevant app or terminal.
  2. Use the shortcut or command above in the relevant context.
  3. Check the result; for commands that change data, test on a small example first.
People also search for
Ctrl + G: Jump directly to a line numberCtrl + Gjump directly to a line numberhow to jump directly to a line numberVS Code jump directly to a line number

Related tips