Skip to content

↑↓ moveEnter openEsc close

Go to definition: the shortcut in 10 apps

10 apps · Mac, Windows and Linux

On Mac it is usually F12 (4 of 9 apps); on Windows it is usually F12 (5 of 10 apps); on Linux it is usually F12 (4 of 9 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
CursorGo to definitionF12F12F12
EclipseOpen the declarationF3F3F3
IntelliJGo to declarationCmdBCtrlBCtrlB
Visual StudioGo to the definition—F12—
NeovimGo to the definition · Normal mode, language server attachedCtrl]Ctrl]Ctrl]
PyCharmGo to the declarationCmdBCtrlBCtrlB
Sublime TextGo to definitionF12F12F12
VS CodeGo to definitionF12F12F12
WebStormGo to the declarationCmdBCtrlBCtrlB
ZedGo to the definitionF12F12F12

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: F12 in Cursor, Sublime Text, VS Code and Zed; Cmd+B in IntelliJ, PyCharm and WebStorm; F3 in Eclipse; Ctrl+] in Neovim.
  • Windows: F12 in Cursor, Visual Studio, Sublime Text, VS Code and Zed; Ctrl+B in IntelliJ, PyCharm and WebStorm; F3 in Eclipse; Ctrl+] in Neovim.
  • Linux: F12 in Cursor, Sublime Text, VS Code and Zed; Ctrl+B in IntelliJ, PyCharm and WebStorm; F3 in Eclipse; Ctrl+] in Neovim.

Where and when it works

  • Neovim (Normal mode, language server attached).

Learn it by pressing it: Cursor shortcuts practice, Eclipse shortcuts practice, IntelliJ shortcuts practice, Visual Studio shortcuts practice, Neovim shortcuts practice, PyCharm shortcuts practice, Sublime Text shortcuts practice, VS Code shortcuts practice, WebStorm shortcuts practice or Zed shortcuts practice.