minad / corfu

:desert_island: corfu.el - COmpletion in Region FUnction
GNU General Public License v3.0
1.11k stars 43 forks source link

Corfu stealing home/end keys #445

Closed egr95 closed 5 months ago

egr95 commented 5 months ago

Thanks for the awesome package!

This is minor but I see that when the corfu popup is active, <home> is mapped to corfu-prompt-beginning and <end> is mapped to corfu-prompt-end. I find this intrusive and would prefer to keep these keys mapped to their usual state. I tried all of the below but whenever the corfu popup becomes active again, these keys once again get stolen by corfu.

Thanks!

(define-key corfu-map "<home>" move-beginning-of-line)
(define-key corfu-map [home] nil)
(define-key corfu-map [remap corfu-prompt-beginning] nil)