# DMN keyboard shortcuts Most DMN work is in a table, so the shortcuts that matter are the ones that move between cells. --- ## Worth knowing * The editor has to have focus for any of these to work. * On macOS, Cmd replaces Ctrl throughout. * Escape cancels whatever you are in the middle of. --- ## Shortcuts | **Shortcut** | **Does** | | --------------------- | ---------------------------------------------- | | Tab / Shift+Tab | Next / previous cell | | Enter | Edit the current cell, or commit and move down | | Escape | Cancel the current cell edit | | Ctrl+Z / Ctrl+Shift+Z | Undo / redo | | Ctrl+A | Select all, on the requirements diagram | | Delete | Remove the selected rule or element | | Ctrl+scroll | Zoom, on the requirements diagram | --- ## A few things that catch people out * Tab through a table rather than clicking. It is several times faster for a long rule set. * Escape cancels a cell edit without committing, which is the safe way out of a mistake. * Undo works across both views, so an accidental deletion on the diagram is recoverable. --- ## Related [Save a DMN decisionFlushed, then written as DMN XML.](https://help.gocapable.com/diagrams/save-a-dmn-decision.html) [Fix DMN editor problemsDefault tables, thumbnails and imports.](https://help.gocapable.com/diagrams/fix-dmn-editor-problems.html) [DMN editorBack to the editor overview.](https://help.gocapable.com/diagrams/dmn-editor.html) --- _Draw the map before writing the rules._