Skip to main content
Ganimede provides keyboard shortcuts for common operations. Since Ganimede uses a canvas-based interface, most shortcuts work when you have focus in a code editor or when interacting with cells.

Code Editing

Run Cell

Cmd+Enter / Ctrl+Enter
shortcut
Execute the current code cell. This queues the cell for execution if it’s in an idle state.
When you press Cmd+Enter (Mac) or Ctrl+Enter (Windows/Linux) in the Monaco editor:
  • The cell is added to the execution queue
  • Only works if the cell is in idle state
  • The kernel will execute the cell and display outputs

Document Operations

Undo

Cmd+Z / Ctrl+Z
shortcut
Undo the last change to cell structure (not code content).
The undo manager tracks:
  • Cell creation and deletion
  • Cell movement and reorganization
  • Changes to cell hierarchy
Note: Code content changes within Monaco editor use Monaco’s built-in undo (also Cmd+Z / Ctrl+Z).

Canvas Navigation

Pan Canvas

Click + Drag
mouse
Click and drag on the canvas background to pan around your notebook.

Zoom

Scroll Wheel
mouse
Use the scroll wheel to zoom in and out of the canvas. Hold Cmd/Ctrl while scrolling for more precise control.

2D Scrolling

Scroll / Trackpad
mouse
The canvas supports 2D scrolling - use your trackpad or scroll wheel to move in any direction.

Cell Operations

Create New Cell

Right Click
mouse
Right-click on the canvas to open the context menu with options to create:
  • Code Cell (Python)
  • Text Cell (Markdown)

Drag Cell

Click + Drag on Cell Toolbar
mouse
Click and drag the cell toolbar (top bar of any cell) to move the cell around the canvas or reorganize cell hierarchy.
When dragging a cell:
  • Orange border indicators show where the cell will be placed
  • Drop on another cell to create a parent-child relationship
  • Drop on empty canvas to make it a top-level cell

Collapse/Expand Cell

Click Collapse Buttons
mouse
Hover over a code cell to reveal collapse buttons on the left:
  • Click the top button to collapse/expand the input (code)
  • Click the bottom button to collapse/expand the output
Collapse states:
  • i: Input collapsed only
  • o: Output collapsed only
  • b: Both collapsed
  • null: Both expanded

Monaco Editor Shortcuts

The Monaco editor includes standard code editor shortcuts:
  • Cmd/Ctrl + Z: Undo
  • Cmd/Ctrl + Shift + Z: Redo
  • Cmd/Ctrl + F: Find
  • Cmd/Ctrl + H: Find and replace
  • Cmd/Ctrl + /: Toggle line comment
  • Alt + Up/Down: Move line up/down
  • Alt + Shift + Up/Down: Copy line up/down
  • Cmd/Ctrl + D: Add selection to next find match
See Monaco Editor documentation for the complete list of editor shortcuts.

Build docs developers (and LLMs) love