macOS default shortcuts cheatsheet


Lesser-known shortcuts

  • VSCode window pane shortcuts
  • Folding
    • Cmd + Opt + [ and ]
  • Toggle terminal: `Ctrl + “
  • Toggle hover box: Cmd + K + Cmd + I
  • Go to
    • Cmd + P: Go to file
    • Cmd + Shift + O: Go to symbol (within file)
    • Cmd + T: Show all symbols (within project)
  • Search
    • Cmd + G and Cmd + Shift + G: Find next/previous
  • Format
    • Cmd + K + Cmd + F: format selection (but mostly works with no selection too)