Skip to content

↑↓ moveEnter openEsc close

Previous command: the shortcut in 3 apps

3 apps · Mac, Windows and Linux

On Mac it is usually ↑ (2 of 3 apps); on Windows it is usually ↑ (2 of 3 apps); on Linux it is usually ↑ (2 of 3 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
BashPrevious commandCtrlPor↑CtrlPor↑CtrlPor↑
Chrome DevToolsPrevious command · Console↑↑↑
Claude CodePrevious prompt↑↑↑

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: ↑ in Chrome DevTools and Claude Code; Ctrl+P in Bash.
  • Windows: ↑ in Chrome DevTools and Claude Code; Ctrl+P in Bash.
  • Linux: ↑ in Chrome DevTools and Claude Code; Ctrl+P in Bash.

Where and when it works

Learn it by pressing it: Bash shortcuts practice, Chrome DevTools shortcuts practice or Claude Code shortcuts practice.