Skip to content

↑↓ moveEnter openEsc close

Rename symbol: the shortcut in 9 apps

9 apps · Mac, Windows and Linux

On Mac it is usually F2 (3 of 8 apps); on Windows it is usually F2 (3 of 9 apps); on Linux it is usually F2 (3 of 8 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
CursorRename symbolF2F2F2
EclipseRenameOptionShiftRAltShiftRAltShiftR
IntelliJRenameShiftF6ShiftF6ShiftF6
Visual StudioRename—CtrlR,CtrlR—
NeovimRename the symbol · Normal mode, language server attachedG,R,NG,R,NG,R,N
PyCharmRenameShiftF6ShiftF6ShiftF6
VS CodeRename symbolF2F2F2
WebStormRenameShiftF6ShiftF6ShiftF6
ZedRename the symbolF2F2F2

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: F2 in Cursor, VS Code and Zed; Shift+F6 in IntelliJ, PyCharm and WebStorm; Option+Shift+R in Eclipse; G R N in Neovim.
  • Windows: F2 in Cursor, VS Code and Zed; Shift+F6 in IntelliJ, PyCharm and WebStorm; Alt+Shift+R in Eclipse; Ctrl+R Ctrl+R in Visual Studio; G R N in Neovim.
  • Linux: F2 in Cursor, VS Code and Zed; Shift+F6 in IntelliJ, PyCharm and WebStorm; Alt+Shift+R in Eclipse; G R N 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, VS Code shortcuts practice, WebStorm shortcuts practice or Zed shortcuts practice.