Fold: the shortcut in both apps
On Mac it is usually Cmd+Option+[ (2 of 2 apps); on Windows it is usually Ctrl+Shift+[ (2 of 2 apps); on Linux it is usually Ctrl+Shift+[ (2 of 2 apps). The table shows where each app agrees and where it differs.
| App | Mac | Windows | Linux |
|---|---|---|---|
| Sublime TextFold | OptionCmd[ | CtrlShift[ | CtrlShift[ |
| VS CodeFold (collapse) region | OptionCmd[ | CtrlShift[ | CtrlShift[ |
How the apps compare
- Mac: every app here uses OptionCmd[.
- Windows: every app here uses CtrlShift[.
- Linux: every app here uses CtrlShift[.
Learn it by pressing it: Sublime Text shortcuts practice or VS Code shortcuts practice.