const COMMAND_INPUTS: Readonly> = { "bash-vi-complete": "*", "backward-char": "h", "beginning-of-line": "0", "end-of-line": "$", "forward-char": "l", "previous-history": "k", "insert-comment": "#", "next-history": "j", "vi-append-eol": "A", "vi-append-mode": "a", "vi-bWord": "B", "revert-line": "U", "vi-change-case": "~", "vi-change-char": "r", "vi-change-to": "c", "vi-char-search": "f", "vi-column": "|", "vi-delete": "x", "vi-delete-to": "d", "vi-end-bigword": "E", "vi-edit-and-execute-command": "v", "vi-end-word": "e", "vi-eWord": "E", "vi-fetch-history": "G", "vi-first-print": "^", "vi-goto-mark": "`", "vi-insert-beg": "I", "vi-insertion-mode": "i", "vi-match": "%", "vi-next-word": "w", "vi-overstrike": "R", "vi-prev-word": "b", "vi-put": "p", "vi-redo": ".", "vi-replace": "R", "vi-rubout": "X", "vi-search": "/", "vi-search-again": "n", "vi-set-mark": "m", "vi-subst": "s", "vi-tilde-expand": "&", "vi-undo": "u", "vi-yank-arg": "_", "vi-yank-to": "y", }; /** Translate a resolved Readline command name into the engine's canonical input. */ export function commandInputForReadlineName(name: string): string | undefined { return COMMAND_INPUTS[name]; }