Skip to content

↑↓ moveEnter openEsc close

Toggle preview pane: the shortcut in 3 apps

3 apps · Mac, Windows and Linux

Each app binds this differently. The table shows the keys in GitHub, macOS and Windows 11 side by side.

AppMacWindowsLinux
GitHubSwitch between Write and Preview · Comment boxShiftCmdPCtrlShiftPCtrlShiftP
macOSShow or hide the Preview pane in Finder windowsShiftCmdP——
Windows 11Display the preview pane—AltP—

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: Shift+Cmd+P in GitHub; Cmd+Shift+P in macOS.
  • Windows: Ctrl+Shift+P in GitHub; Alt+P in Windows 11.
  • Linux: Ctrl+Shift+P in GitHub.

Where and when it works

Learn it by pressing it: GitHub shortcuts practice, macOS shortcuts practice or Windows 11 shortcuts practice.