diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-07-05 01:19:30 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-07-05 01:19:30 -0400 |
| commit | bdf9a71ab7baa2b1de9abcfd5df1a9107a55d141 (patch) | |
| tree | c4524e6c41aa5107211103401dabfaefc81aa882 /.config/emacs/lisp/evil-collection/modes/eat/README.org | |
| parent | fe3984f541bd32bdfa418afb305b614176b55ca0 (diff) | |
add a bunch of emacs packages HELP
Diffstat (limited to '.config/emacs/lisp/evil-collection/modes/eat/README.org')
| -rw-r--r-- | .config/emacs/lisp/evil-collection/modes/eat/README.org | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.config/emacs/lisp/evil-collection/modes/eat/README.org b/.config/emacs/lisp/evil-collection/modes/eat/README.org new file mode 100644 index 0000000..b8fdfae --- /dev/null +++ b/.config/emacs/lisp/evil-collection/modes/eat/README.org @@ -0,0 +1,37 @@ +* eat + + Evil bindings for [[https://codeberg.org/akib/emacs-eat][eat]], the Emulate A Terminal package. + + Initial state for =eat-mode= is =insert=. The same =C-*= keys that vterm + forwards raw to the terminal are bound to =eat-self-input= here so that + shells and TUIs receive them instead of evil-insert-state. + +** Key bindings + +*** eat-mode-map + + | Command | Original | Evil | + |------------------------------------------+----------+-----------| + | =evil-collection-eat-toggle-send-escape= | n/a | =C-c C-z= | + + The following keys are forwarded raw to the terminal via =eat-self-input= + in insert state: =C-a=, =C-b=, =C-d=, =C-e=, =C-f=, =C-k=, =C-l=, =C-n=, + =C-o=, =C-p=, =C-q=, =C-r=, =C-s=, =C-t=, =C-u=, =C-v=, =C-w=, =C-y=, + =C-z=, =<delete>=. =C-c= (prefix) and =C-h= (help) are not forwarded. + +*** eat-line-mode-map + + =RET=, =C-m= and =[return]= send input to the terminal in the state + named by =evil-collection-repl-submit-state=, and insert a newline in + the opposite state. + + | Command | Original | State | + |-----------------------+----------+-------------------------------------| + | =eat-line-send-input= | =RET= | =evil-collection-repl-submit-state= | + | =newline= | n/a | opposite of submit state | + +** New commands + + | Command | Purpose | + |------------------------------------------+---------------------------------------------------| + | =evil-collection-eat-toggle-send-escape= | Toggle whether =ESC= goes to eat or back to evil. | |
