Variable: tuareg-interactive-mode-map

tuareg-interactive-mode-map is a variable defined in tuareg.el.

Value

Large value
<delete>     delete-forward-char
<kp-delete>  delete-forward-char
<kp-enter>   tuareg-interactive-send-input-end-of-phrase
<mouse-2>    comint-insert-input
C-<down>     comint-next-input
C-<return>   tuareg-interactive-send-input-end-of-phrase
C-<up>       comint-previous-input
C-M-l        comint-show-output
C-c .        comint-insert-previous-argument
C-c C-\      comint-quit-subjob
C-c C-a      comint-bol-or-process-mark
C-c C-c      comint-interrupt-subjob
C-c C-d      comint-send-eof
C-c C-e      comint-show-maximum-output
C-c C-k      tuareg-kill-ocaml
C-c C-l      comint-dynamic-list-input-ring
C-c C-n      comint-next-prompt
C-c C-o      comint-delete-output
C-c C-p      comint-previous-prompt
C-c C-r      comint-show-output
C-c C-s      comint-write-output
C-c C-u      comint-kill-input
C-c C-w      backward-kill-word
C-c C-x      comint-get-next-from-history
C-c C-z      tuareg-switch-to-recent-buffer
C-c M-o      comint-clear-buffer
C-c M-r      comint-previous-matching-input-from-input
C-c M-s      comint-next-matching-input-from-input
C-c RET      comint-copy-old-input
C-c SPC      comint-accumulate
C-c TAB      tuareg-interrupt-ocaml
C-c `        tuareg-interactive-next-error-repl
C-d          comint-delchar-or-maybe-eof
C-x <up>     comint-complete-input-ring
M-n          comint-next-input
M-p          comint-previous-input
M-r          comint-history-isearch-backward-regexp
RET          tuareg-interactive-send-input
S-<return>   tuareg-interactive-send-input-end-of-phrase

Documentation

Keymap for tuareg-interactive-mode.

Source Code

;; Defined in /nix/store/6mbh851dhnag8f92qfrlh9ckldzwf6c6-emacs-packages-deps/share/emacs/site-lisp/elpa/tuareg-20260626.936/tuareg.el
(defvar tuareg-interactive-mode-map
  (let ((map (copy-keymap comint-mode-map)))
    (define-key map "\C-c\C-i" #'tuareg-interrupt-ocaml)
    (define-key map "\C-c\C-k" #'tuareg-kill-ocaml)
    (define-key map "\C-c\C-z" #'tuareg-switch-to-recent-buffer)
    (define-key map "\C-c`" #'tuareg-interactive-next-error-repl)
    (define-key map "\C-m" #'tuareg-interactive-send-input)
    (define-key map [(shift return)]
      #'tuareg-interactive-send-input-end-of-phrase)
    (define-key map [(ctrl return)]
      #'tuareg-interactive-send-input-end-of-phrase)
    (define-key map [kp-enter] #'tuareg-interactive-send-input-end-of-phrase)
    map))