Go to line: the shortcut in 13 apps
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.
| App | Mac | Windows | Linux |
|---|---|---|---|
| Chrome DevToolsGo to a line · Sources panel | CtrlG | CtrlG | CtrlG |
| CursorGo to a line | CtrlG | CtrlG | CtrlG |
| EclipseGo to a line | CmdL | CtrlL | CtrlL |
| GitHubGo to a line · Viewing a file | L | L | L |
| EmacsGo to a line number | OptionG,G | AltG,G | AltG,G |
| IntelliJGo to a line | CmdL | CtrlG | CtrlG |
| Visual StudioGo to a line | — | CtrlG | — |
| WordGo to a page or heading | OptionCmdG | CtrlG | — |
| PyCharmGo to a line | CmdL | CtrlG | CtrlG |
| Sublime TextGo to a line | CtrlG | CtrlG | CtrlG |
| VS CodeGo to line | CtrlG | CtrlG | CtrlG |
| WebStormGo to a line | CmdL | CtrlG | CtrlG |
| ZedGo to a line | CtrlG | CtrlG | CtrlG |
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
- Chrome DevTools (Sources panel).
- GitHub (Viewing a file).
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.