Function: cider-repl-mode
cider-repl-mode is an interactive and byte-compiled function defined
in cider-repl.el.
Signature
(cider-repl-mode)
Documentation
Major mode for Clojure REPL interactions.
, cider-repl-handle-shortcut
C-<down> cider-repl-forward-input
C-<return> cider-repl-closing-return
C-<up> cider-repl-backward-input
C-S-a cider-repl-bol-mark
C-c , cider-test-menu
C-c C-. cider-find-ns
C-c C-: cider-find-keyword
C-c C-b cider-interrupt
C-c C-c cider-interrupt
C-c C-d cider-doc-menu
C-c C-h cider-repl-help
C-c C-n cider-repl-next-prompt
C-c C-o cider-repl-clear-output
C-c C-p cider-repl-previous-prompt
C-c C-q cider-quit
C-c C-s C-b sesman-link-with-buffer
C-c C-s C-d sesman-link-with-directory
C-c C-s C-l sesman-link-with-least-specific
C-c C-s C-p sesman-link-with-project
C-c C-s C-q sesman-quit
C-c C-s C-r sesman-restart
C-c C-s C-s sesman-start
C-c C-s C-u sesman-unlink
C-c C-s C-w sesman-browser
C-c C-s TAB sesman-info
C-c C-s b sesman-link-with-buffer
C-c C-s d sesman-link-with-directory
C-c C-s i sesman-info
C-c C-s l sesman-link-with-least-specific
C-c C-s p sesman-link-with-project
C-c C-s q sesman-quit
C-c C-s r sesman-restart
C-c C-s s sesman-start
C-c C-s u sesman-unlink
C-c C-s w sesman-browser
C-c C-t cider-test-menu
C-c C-u cider-repl-kill-input
C-c C-x cider-start-menu
C-c C-z cider-switch-to-last-clojure-buffer
C-c M-. cider-find-resource
C-c M-C #<anonymous-function>
C-c M-J #<anonymous-function>
C-c M-c #<anonymous-function>
C-c M-d cider-describe-connection
C-c M-i cider-inspect
C-c M-j #<anonymous-function>
C-c M-m cider-macroexpand-menu
C-c M-n cider-repl-set-ns
C-c M-o cider-repl-switch-to-other
C-c M-p cider-history
C-c M-r cider-restart
C-c M-s cider-selector
C-c M-t cider-trace-menu
C-c RET cider-macroexpand-1
C-j cider-repl-newline-and-indent
C-x C-e undefined
M-, cider-pop-back
M-. cider-find-var
M-n cider-repl-next-input
M-p cider-repl-previous-input
M-r cider-repl-previous-matching-input
M-s cider-repl-next-matching-input
RET cider-repl-return
S-<home> cider-repl-bol-mark
TAB cider-repl-tab
This mode runs the hook cider-repl-mode-hook, as the final or
penultimate step during initialization.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-repl.el
(define-derived-mode cider-repl-mode fundamental-mode "REPL"
"Major mode for Clojure REPL interactions.
\\{cider-repl-mode-map}"
(clojure-mode-variables)
(clojure-font-lock-setup)
(font-lock-add-keywords nil cider--static-font-lock-keywords)
(setq-local sesman-system 'CIDER)
(setq-local font-lock-fontify-region-function
(cider-repl-wrap-fontify-function font-lock-fontify-region-function))
(setq-local font-lock-unfontify-region-function
(cider-repl-wrap-fontify-function font-lock-unfontify-region-function))
(set-syntax-table cider-repl-mode-syntax-table)
;; #3102: honor the `syntax-table' text property that `cider-repl--emit-output'
;; puts on output, so unbalanced parens in output don't break sexp commands.
(setq-local parse-sexp-lookup-properties t)
(cider-eldoc-setup)
;; At the REPL, we define beginning-of-defun and end-of-defun to be
;; the start of the previous prompt or next prompt respectively.
;; Notice the interplay with `cider-repl-beginning-of-defun'.
(setq-local beginning-of-defun-function #'cider-repl-mode-beginning-of-defun)
(setq-local end-of-defun-function #'cider-repl-mode-end-of-defun)
(setq-local prettify-symbols-alist cider-repl--prettify-symbols-alist)
;; apply dir-local variables to REPL buffers
(hack-dir-local-variables-non-file-buffer)
(cider-repl-history-load)
(add-hook 'completion-at-point-functions #'cider-complete-at-point nil t)
(add-hook 'paredit-mode-hook (lambda () (clojure-paredit-setup cider-repl-mode-map)))
(cider-repl-setup-paredit))