Skip to content

↑↓ moveEnter openEsc close

Shrink selection: the shortcut in both apps

2 apps · Mac, Windows and Linux

Each app binds this differently. The table shows the keys in IntelliJ and VS Code side by side.

AppMacWindowsLinux
IntelliJShrink the selectionOption↓CtrlShiftWCtrlShiftW
VS CodeShrink selectionCtrlShiftCmd←AltShift←AltShift←

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: Option+↓ in IntelliJ; Ctrl+Shift+Cmd+← in VS Code.
  • Windows: Ctrl+Shift+W in IntelliJ; Shift+Alt+← in VS Code.
  • Linux: Ctrl+Shift+W in IntelliJ; Shift+Alt+← in VS Code.

Learn it by pressing it: IntelliJ shortcuts practice or VS Code shortcuts practice.