Skip to content

↑↓ moveEnter openEsc close

Jump to matching bracket: the shortcut in 3 apps

3 apps · Mac, Windows and Linux

Each app binds this differently. The table shows the keys in Sublime Text, Vim and VS Code side by side.

AppMacWindowsLinux
Sublime TextJump to the matching bracketCtrlMCtrlMCtrlM
VimJump to the matching bracket · Normal modeShift5Shift5Shift5
VS CodeJump to matching bracketShiftCmd\CtrlShift\CtrlShift\

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+M in Sublime Text; Shift+5 in Vim; Cmd+Shift+\ in VS Code.
  • Windows: Ctrl+M in Sublime Text; Shift+5 in Vim; Ctrl+Shift+\ in VS Code.
  • Linux: Ctrl+M in Sublime Text; Shift+5 in Vim; Ctrl+Shift+\ in VS Code.

Where and when it works

  • Vim (Normal mode): The % key.

Learn it by pressing it: Sublime Text shortcuts practice, Vim shortcuts practice or VS Code shortcuts practice.