Make corfu-map override the local keymap

What happened?

I have C-j and C-k bound in corfu-map to move up and down the candidate list. I also have the same binding in insert mode to move between lines without leaving the home row. When I try to move between candidates in the completion popup I get the wrong functionality…

I have this in my config, but it doesn’t seem to do the job:

  (advice-add 'corfu--setup :after 'evil-normalize-keymaps)
  (advice-add 'corfu--teardown :after 'evil-normalize-keymaps)
  (evil-make-overriding-map corfu-map)

Any ideas would be appreciated :)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.