Skip to content

↑↓ moveEnter openEsc close

Go to line: the shortcut in 13 apps

13 apps · Mac, Windows and Linux

On Mac it is usually Ctrl+G (5 of 12 apps); on Windows it is usually Ctrl+G (10 of 13 apps); on Linux it is usually Ctrl+G (8 of 11 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
Chrome DevToolsGo to a line · Sources panelCtrlGCtrlGCtrlG
CursorGo to a lineCtrlGCtrlGCtrlG
EclipseGo to a lineCmdLCtrlLCtrlL
GitHubGo to a line · Viewing a fileLLL
EmacsGo to a line numberOptionG,GAltG,GAltG,G
IntelliJGo to a lineCmdLCtrlGCtrlG
Visual StudioGo to a line—CtrlG—
WordGo to a page or headingOptionCmdGCtrlG—
PyCharmGo to a lineCmdLCtrlGCtrlG
Sublime TextGo to a lineCtrlGCtrlGCtrlG
VS CodeGo to lineCtrlGCtrlGCtrlG
WebStormGo to a lineCmdLCtrlGCtrlG
ZedGo to a lineCtrlGCtrlGCtrlG

Small screen: your system's keys only. Open an app's row for every system.

A dash means the app has no default binding, or does not run, on that system. Open a row for notes and the full key details.

How the apps compare

  • Mac: Ctrl+G in Chrome DevTools, Cursor, Sublime Text, VS Code and Zed; Cmd+L in Eclipse, IntelliJ, PyCharm and WebStorm; L in GitHub; Option+G G in Emacs; Cmd+Option+G in Word.
  • Windows: Ctrl+G in Chrome DevTools, Cursor, IntelliJ, Visual Studio, Word, PyCharm, Sublime Text, VS Code, WebStorm and Zed; Ctrl+L in Eclipse; L in GitHub; Alt+G G in Emacs.
  • Linux: Ctrl+G in Chrome DevTools, Cursor, IntelliJ, PyCharm, Sublime Text, VS Code, WebStorm and Zed; Ctrl+L in Eclipse; L in GitHub; Alt+G G in Emacs.

Where and when it works

Learn it by pressing it: Chrome DevTools shortcuts practice, Cursor shortcuts practice, Eclipse shortcuts practice, GitHub shortcuts practice, Emacs shortcuts practice, IntelliJ shortcuts practice, Visual Studio shortcuts practice, Word shortcuts practice, PyCharm shortcuts practice, Sublime Text shortcuts practice, VS Code shortcuts practice, WebStorm shortcuts practice or Zed shortcuts practice.