Skip to content
Spyder icon

Spyder shortcuts for Mac

145 shortcuts · 13 categories

Spyder is an integrated development environment (IDE) for scientific computing in Python that offers features such as code completion, debugging, and interactive console. Download Spyder

Use these Spyder shortcuts from a pie menu

Access your favorite Spyder shortcuts instantly with Pie Menu. No more memorizing—just point and click.

Pie Menu with shortcuts
Hover a shortcut to add it to Pie Menu

Mac keyboard shortcuts for Spyder

Explorer

  • Copy relative path⌃ (control) + ⌥ (option) + ⇧ (shift) + c Add →
  • Copy absolute path⌃ (control) + ⌥ (option) + c Add →
  • Paste file⌃ (control) + v Add →
  • Copy file⌃ (control) + c Add →

Plots

  • Zoom out⌃ (control) + - Add →
  • Zoom in⌃ (control) + + Add →
  • Close all⌃ (control) + ⇧ (shift) + w Add →
  • Close⌃ (control) + w Add →
  • Save all⌃ (control) + ⌥ (option) + s Add →
  • Save⌃ (control) + s Add →
  • Next figure⌃ (control) + pagedown Add →
  • Previous figure⌃ (control) + pageup Add →
  • Copy⌃ (control) + c Add →

IPython Console

  • Restart kernel⌃ (control) + . Add →
  • Reset namespace⌃ (control) + ⌥ (option) + r Add →
  • New tab⌃ (control) + t Add →

Variable Explorer

Array Builder

  • Enter array table⌃ (control) + m Add →
  • Enter array inline⌃ (control) + ⌥ (option) + m Add →

Profiler

Pylint

Console

  • Clear line⇧ (shift) + esc Add →
  • Clear shell⌃ (control) + l Add →
  • Inspect current object⌃ (control) + i Add →

Find & Replace

Switch to

  • Switch to breakpoints⌃ (control) + ⇧ (shift) + b Add →
  • Switch to profiler⌃ (control) + ⇧ (shift) + r Add →
  • Switch to pylint⌃ (control) + ⇧ (shift) + c Add →
  • Switch to plots⌃ (control) + ⇧ (shift) + g Add →
  • Switch to explorer⌃ (control) + ⇧ (shift) + x Add →
  • Switch to find_in_files⌃ (control) + ⇧ (shift) + f Add →
  • Switch to variable_explorer⌃ (control) + ⇧ (shift) + v Add →
  • Switch to ipython_console⌃ (control) + ⇧ (shift) + i Add →
  • Switch to project_explorer⌃ (control) + ⇧ (shift) + p Add →
  • Switch to onlinehelp⌃ (control) + ⇧ (shift) + d Add →
  • Switch to historylog⌃ (control) + ⇧ (shift) + l Add →
  • Switch to editor⌃ (control) + ⇧ (shift) + e Add →
  • Switch to outline_explorer⌃ (control) + ⇧ (shift) + o Add →
  • Switch to help⌃ (control) + ⇧ (shift) + h Add →

Debug and Run

  • Re-run last scriptf6 Add →
  • Configure⌃ (control) + f6 Add →
  • Runf5 Add →
  • Debug exit⌃ (control) + ⇧ (shift) + f12 Add →
  • Debug step return⌃ (control) + ⇧ (shift) + f11 Add →
  • Debug step into⌃ (control) + f11 Add →
  • Debug continue⌃ (control) + f12 Add →
  • Debug step over⌃ (control) + f10 Add →
  • Debug⌃ (control) + f5 Add →

Editor

  • Symbol finder⌃ (control) + ⌥ (option) + p Add →
  • File switcher⌃ (control) + p Add →
  • Show in external file explorerblank Add →
  • Autoformatting⌃ (control) + ⌥ (option) + i Add →
  • Docstring⌃ (control) + ⌥ (option) + d Add →
  • Close split panel⌥ (option) + ⇧ (shift) + w Add →
  • Split horizontally⌃ (control) + _ Add →
  • Split vertically⌃ (control) + { Add →
  • Re-run last cell⌥ (option) + ↵ Add →
  • Go to previous cell⌃ (control) + ↑ Add →
  • Go to next cell⌃ (control) + ↓ Add →
  • Debug cell⌥ (option) + ⇧ (shift) + ↵ Add →
  • Run cell and advance⇧ (shift) + ↵ Add →
  • Run cell⌃ (control) + ↵ Add →
  • Close file⌃ (control) + w Add →
  • Zoom reset⌃ (control) + 0 Add →
  • Zoom out⌃ (control) + - Add →
  • Zoom in⌃ (control) + + Add →
  • Next warning⌃ (control) + ⌥ (option) + ⇧ (shift) + . Add →
  • Previous warning⌃ (control) + ⌥ (option) + ⇧ (shift) + , Add →
  • Next cursor position⌥ (option) + → Add →
  • Previous cursor position⌥ (option) + ← Add →
  • Last edit location⌃ (control) + ⌥ (option) + ⇧ (shift) + ← Add →
  • Close all⌃ (control) + ⇧ (shift) + w Add →
  • Save as⌃ (control) + ⇧ (shift) + s Add →
  • Save all⌃ (control) + ⌥ (option) + s Add →
  • Save file⌃ (control) + s Add →
  • Open file⌃ (control) + o Add →
  • Open last closed⌃ (control) + ⇧ (shift) + t Add →
  • New file⌃ (control) + n Add →
  • Cycle to next file⌃ (control) + pagedown Add →
  • Cycle to previous file⌃ (control) + pageup Add →
  • Go to next file⌃ (control) + ⇥ Add →
  • Go to previous file⌃ (control) + ⇧ (shift) + ⇥ Add →
  • Go to line⌃ (control) + l Add →
  • Run selectionf9 Add →
  • Conditional breakpoint⇧ (shift) + f12 Add →
  • Breakpointf12 Add →
  • Inspect current object⌃ (control) + i Add →
  • Select all⌃ (control) + a Add →
  • Delete⌫ Add →
  • Paste⌃ (control) + v Add →
  • Copy⌃ (control) + c Add →
  • Cut⌃ (control) + x Add →
  • Redo⌃ (control) + ⇧ (shift) + z Add →
  • Undo⌃ (control) + z Add →
  • End of document⌃ (control) + end Add →
  • Start of document⌃ (control) + home Add →
  • Kill next word⌘ (command) + d Add →
  • Kill previous word⌘ (command) + ⌫ Add →
  • Rotate kill ring⇧ (shift) + ⌘ (command) + y Add →
  • Yank⌘ (command) + y Add →
  • Kill to line start⌘ (command) + u Add →
  • Kill to line end⌘ (command) + k Add →
  • Next word⌃ (control) + → Add →
  • Previous word⌃ (control) + ← Add →
  • Next char⌘ (command) + f Add →
  • Previous char⌘ (command) + b Add →
  • Next line⌘ (command) + n Add →
  • Previous line⌘ (command) + p Add →
  • End of line⌘ (command) + e Add →
  • Start of line⌘ (command) + a Add →
  • Unblockcomment⌃ (control) + 5 Add →
  • Blockcomment⌃ (control) + 4 Add →
  • Toggle comment⌃ (control) + 1 Add →
  • Go to definition⌃ (control) + g Add →
  • Go to new line⌃ (control) + ⇧ (shift) + ↵ Add →
  • Move line down⌥ (option) + ↓ Add →
  • Move line up⌥ (option) + ↑ Add →
  • Unindent⌃ (control) + [ Add →
  • Indent⌃ (control) + ] Add →
  • Transform to lowercase⌃ (control) + u Add →
  • Transform to uppercase⌃ (control) + ⇧ (shift) + u Add →
  • Delete line⌃ (control) + d Add →
  • Duplicate line down⌥ (option) + ⇧ (shift) + ↓ Add →
  • Duplicate line up⌥ (option) + ⇧ (shift) + ↑ Add →
  • Code completion⌃ (control) + space Add →

Global

  • Quit⌃ (control) + q Add →
  • Restart⌥ (option) + ⇧ (shift) + r Add →
  • Spyder documentationf1 Add →
  • Show toolbars⌥ (option) + ⇧ (shift) + t Add →
  • Layout preferences⌥ (option) + ⇧ (shift) + p Add →
  • Save current layout⌥ (option) + ⇧ (shift) + s Add →
  • Fullscreen modef11 Add →
  • Maximize pane⌃ (control) + ⌥ (option) + ⇧ (shift) + m Add →
  • Preferences⌃ (control) + ⌥ (option) + ⇧ (shift) + p Add →
  • Use previous layout⌥ (option) + ⇧ (shift) + pageup Add →
  • Use next layout⌥ (option) + ⇧ (shift) + pagedown Add →
  • Lock unlock panes⌃ (control) + ⇧ (shift) + f5 Add →
  • Close pane⌃ (control) + ⇧ (shift) + f4 Add →

Download Keyboard Cheat Sheet for Spyder for Mac

Do you want all keyboard shortcuts for Spyder in one pdf?

Cheat sheet

Community shortcuts for Spyder

Be the first to share — open Pie Menu → Spyder → Share Config

View community page →
Pie Menu

Get started with Pie Menu today.

The convenience of shortcuts without the memorization!