# keymap/save Write the entire live keymap to a nested-map keytable file: `%{ :app %{ :mode %{ "chord" cmd } } }`. Defaults to the workspace keytable (`.deft/keytable.dft` in a project). Write-then-rename, so the file is replaced atomically. ## Syntax
[keymap/save ?path]
## Parameters - `?path` — (optional) destination path. ## Examples
[keymap/save]
[keymap/save "backup.keytable.dft"]
## Returns Boolean — `true` on success, `false` on write failure. Parent directories are created as needed; entries are sorted by `app/mode/chord` for a deterministic file. ## See Also `keymap/load`, `keymap/save-overrides`, `keymap/save-map`