# keymap/modes List the mode names that have bindings for an app, sorted. Modes are editor-style keysets (`"default"`, `"vi"`, `"emacs"`); single-keyset apps normally have only `"default"`. ## Syntax
[keymap/modes "app"]
## Parameters - `app` — app name (string or keyword) ## Examples
[keymap/modes "editor"]    # → @{ "default" "emacs" "vi" }
[keymap/modes "log"]       # → @{ "default" }
## Returns Vector of mode-name strings, sorted. Empty vector when the app has no bindings or no runtime is attached. `%Err{:message}` when the app argument is missing or not a string/keyword. ## See Also `keymap/apps`, `keymap/scan`, `keymap/lookup`