Keyboard shortcuts¶
General¶
Cmd 0 toggles file navigator / library.
Dialogs¶
You can close all dialogs with Esc key. Use Cmd . if you have a keyboard without
Esc key.
Dialogs with tables support arrow keys to change selection and Enter key to select item.
Some of these dialogs support Shift Enter for an alternate action.
Example is the Open Quickly script where you can open file in a new tab (Enter)
or in the current tab (Shift Enter).
Tabs¶
Cmd 1 .. Cmd 9 quickly switches between tabs.
Ctrl Tab or Cmd Shift ] selects next tab and
Ctrl Shift Tab or Cmd Shift [ selects previous tab.
Cmd W closes current tab and Cmd Shift W closes all tabs except
current one.
Cmd T creates new empty tab and Cmd N shows Pythonista new file
dialog.
ShortcutsCmd W,Ctrl TabandCtrl Shift Tabare no longer registered if you’re using Pythonista (> 311013). These three are natively supported. They still do work if you’re using older Pythonista version.
Editor¶
Ctrl Up for page up, Ctrl Down for page down. Page
line count is configurable, see Configuration.
Scripts¶
Scripts keyboard shortcuts binding:
Cmd E- Drag & DropCmd /- Toggle commentsCmd Shift O- Open quicklyCmd Shift 0- Search DashCmd Shift R- Run quicklyCmd Shift A- Action quicklyCtrl Shift B- AnalyzeCmd Shift K- Clear annotationsCmd U- Run unit testsCmd Shift L- Outline quicklyCtrl L- Jump to lineCtrl Cmd J- Jump to definitionCtrl Cmd U- Find usagesCtrl Cmd ?- Show documentationCtrl W- Close active overlay 1Cmd Option O- Refactor - Organize importsCmd Option E- Refactor - Expand star importsCmd Option R- Refactor - Rename
1 Show documentation script does use overlays.
Just hold Cmd key and iOS will show you all available shortcuts
if you can’t remember them.
Custom shortcuts¶
Check API Reference to learn how to register custom keyboard shortcuts.