1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [Go to Line](<https://delaparra-services.nl/knowledge-hub/go-to-line>)

  

Category: Keyboard shortcuts 

# Go to Line

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is Go to Line?

 

Go to Line: Jump straight to a line number. Useful when a stack trace or a colleague points you at "line 142". Go to Line jumps straight to a line number. In VS Code press ` Ctrl+G `, in JetBrains IDEs ` Ctrl+G ` or ` Cmd+L `, and in Vim type the number followed by ` G `. It is the quickest way to follow a stack trace, a linter warning or a colleague who says "look at line 142". Many editors also accept ` line:column ` to land on the exact character.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about Go to Line

  

### What should you keep in mind with Go to Line?

 

When an error log contains a file path and line number, most terminals and IDEs can make that clickable. Clicking it opens the file at the right spot, which is even faster. Line numbers change as code is edited, so for code reviews and documentation, link to a specific commit on GitHub or GitLab. That link keeps pointing to the right line even after the file changes.

 

## At a glance

   CategoryKeyboard shortcuts Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Keyboard shortcuts terms

 

- [Format Document](<https://delaparra-services.nl/knowledge-hub/format-document>) 
- [gg / G (top / bottom)](<https://delaparra-services.nl/knowledge-hub/gg-g-top-bottom>) 
- [Go to Definition](<https://delaparra-services.nl/knowledge-hub/go-to-definition>) 
- [Move Line Up / Down](<https://delaparra-services.nl/knowledge-hub/move-line-up-down>) 
- [Move to Line Start / End](<https://delaparra-services.nl/knowledge-hub/move-to-line-start-end>) 
- [Open Keyboard Shortcuts](<https://delaparra-services.nl/knowledge-hub/open-keyboard-shortcuts>)

 

[All terms starting with G](<https://delaparra-services.nl/knowledge-hub#letter-g>)

 

## Skills

 

- ### Editor shortcuts (VS Code / Cursor and Vim)

 

Use when a user asks how to do something faster in VS Code (or Cursor) or Vim, asks what a keyboard shortcut does (e.g. Ctrl+D, Ctrl+Shift+P, F12, gg, dd, yy, ciw, :wq), wants to customise keybindings, or is stuck in Vim. Gives the correct shortcut for their operating system and can write keybindings.json entries.

 [View skill](<https://delaparra-services.nl/skills/editor-shortcuts>) [Download zip](<https://delaparra-services.nl/skills/editor-shortcuts/download>)

 

## Manuals

 

- [Keyboard shortcuts in VS Code and the terminal](<https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code>) 
- [Installing Visual Studio Code](<https://delaparra-services.nl/manuals/visual-studio-code-installeren>)

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/go-to-line)
