Variable: eshell-command-mode-map

eshell-command-mode-map is a variable defined in eshell.el.gz.

Value

C-g    abort-recursive-edit
C-j    eshell-command-mode-exit
M-RET  eshell-command-mode-exit
RET    eshell-command-mode-exit

Documentation

Keymap for eshell-command-mode(var)/eshell-command-mode(fun).

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/eshell.el.gz
(define-minor-mode eshell-command-mode
  "Minor mode for `eshell-command' input.
\\{eshell-command-mode-map}"
  :keymap (let ((map (make-sparse-keymap)))
            (define-key map [(control ?g)] #'abort-recursive-edit)
            (define-key map [(control ?m)] #'eshell-command-mode-exit)
            (define-key map [(control ?j)] #'eshell-command-mode-exit)
            (define-key map [(meta control ?m)] #'eshell-command-mode-exit)
            map))