From bdf9a71ab7baa2b1de9abcfd5df1a9107a55d141 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Sun, 5 Jul 2026 01:19:30 -0400 Subject: add a bunch of emacs packages HELP --- .../lisp/evil-collection/modes/comint/README.org | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .config/emacs/lisp/evil-collection/modes/comint/README.org (limited to '.config/emacs/lisp/evil-collection/modes/comint/README.org') diff --git a/.config/emacs/lisp/evil-collection/modes/comint/README.org b/.config/emacs/lisp/evil-collection/modes/comint/README.org new file mode 100644 index 0000000..0b03dd2 --- /dev/null +++ b/.config/emacs/lisp/evil-collection/modes/comint/README.org @@ -0,0 +1,29 @@ +* comint + + Evil bindings for [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Comint.html][comint-mode]], the base mode for many Emacs shells and + REPLs (shell, inferior-lisp, sql, python, etc.). Bindings here propagate to + every derived mode that does not override them. + +** Key bindings + + Normal-state additions to =comint-mode-map=: + + | Command | Original | Evil | + |--------------------------+-----------+-------------------------------------| + | =comint-next-prompt= | =C-c C-n= | =C-j=, =gj=, =]]= | + | =comint-previous-prompt= | =C-c C-p= | =C-k=, =gk=, =[[= | + | =comint-previous-input= | =M-p= | =C-p= | + | =comint-next-input= | =M-n= | =C-n= | + | =evil-scroll-down= | n/a | =C-d= (when =evil-want-C-d-scroll=) | + + Insert state: + + | Command | Original | Evil | + |-------------------------+-----------+-------------------------------------| + | =comint-previous-input= | =M-p= | == | + | =comint-next-input= | =M-n= | == | + | =comint-kill-input= | =C-c C-u= | =C-u= (when =evil-want-C-u-delete=) | + + =RET= sends input in the state named by =evil-collection-repl-submit-state= + and inserts a newline in the complementary state (both =RET= and =C-m= / + =[return]= are wired). -- cgit v1.2.3