Commit Graph

11 Commits

Author SHA1 Message Date
StrawberryTea 2e2be761f7 corfu: bind up/down in insert state
Corfu already binds up/down in emacs state, but not in insert state.
Normally this is not a problem, but when using corfu in comint-mode like
with chatgpt-shell, up/down moves in the history instead of moving in
the corfu completions.
2024-03-06 00:32:57 +08:00
Ghosty 16d2cecda7 Fix corfu-scroll-up/-down being inverted
Corfu uses the emacs definition of scroll-up (moving the text down) which is
inverted to what vim uses.
2024-02-24 00:25:58 +08:00
Abdelhak Bougouffa 2eb68ac588 Fix `corfu--teardown` signature (backward compatible)
A new commit in `corfu` changes the signature of `corfu--teardown`, this PR fixes that.

## Ref
https://github.com/emacs-evil/evil-collection/pull/767#issuecomment-1875366132
2024-01-03 12:20:31 -05:00
Abdelhak Bougouffa cf1a11912d Fix the new `corfu--setup` signature (backward compatible) 2023-12-25 15:45:32 -05:00
James Nguyen b71d6d6f97 Corfu: Fix tab declaration 2022-07-27 18:08:25 -04:00
James Nguyen ca5915c6de Bind [S-tab] instead 2022-05-30 22:37:09 -04:00
James Nguyen e1bbf13194 [Corfu]: Fix more compile errors 2022-05-28 22:34:07 -04:00
James Nguyen 8b2a3327ad [Corfu]: Define var 2022-05-28 22:29:12 -04:00
James Nguyen 1166e5aa53 Add key themes to corfu
There should be no functional change to users here unless they set
evil-collection-corfu-themes to something other than '(default).

It might be worth making this key-theme a global custom variable
evil-collection-key-themes instead and using a namespaced corfu symbol
instead. e.g. (defcustom evil-collection-key-themes '(corfu-default)) so that
users will only have to know one variable to customize.
2022-05-28 21:56:01 -04:00
James Nguyen 1f1f70b48b [Corfu] Use normal state after pressing ESC 2022-05-28 11:14:23 -04:00
James Nguyen ceac1a9681 Add corfu (#552) 2022-04-13 22:50:36 -04:00