Commit Diff
- Commit:
ceeebd9f2e81e56893fe19e7e8cce5c7bee406c2- From:
- Lukas Henkel <lh@entf.net>
- Date:
- Message:
- Fix pressing enter while no completion is selected for comint modes This way, instead of just entering a newline, whatever is usually bound to RET is executed instead, so it's not printing a newline in a console or REPL.
- Actions:
- Patch | Tree
--- init.el +++ init.el @@ -175,7 +175,7 @@ (let ((idx corfu--index)) (corfu-insert) (when (< idx 0) - (newline) + (funcall (key-binding (kbd "RET"))) (indent-according-to-mode)))) (lh/define-keys corfu-map
