Skip to content

Key bindings ​

Corfu uses a transient keymap corfu-map which is active while the popup is shown. The keymap defines the following remappings of fundamental commands and bindings:

Binding/RemappingCorfu command
move-beginning-of-linecorfu-prompt-beginning
move-end-of-linecorfu-prompt-end
beginning-of-buffercorfu-first
end-of-buffercorfu-last
scroll-down-commandcorfu-scroll-down
scroll-up-commandcorfu-scroll-up
next-line, ‘down’, ‘M-n’corfu-next
previous-line, ‘up’, ‘M-p’corfu-previous
completion-at-point, ‘TAB’corfu-complete
‘M-TAB’corfu-expand
‘RET’corfu-insert
‘M-g’corfu-info-location
‘M-h’corfu-info-documentation
‘M-SPC’corfu-insert-separator
‘C-g’corfu-quit
keyboard-escape-quitcorfu-reset