File: corfu.el.html
Corfu enhances in-buffer completion with a small completion popup.
The current candidates are shown in a popup below or above the point. The candidates can be selected by moving up and down. Corfu is the minimalistic in-buffer completion counterpart of the Vertico minibuffer UI.
Defined variables (45)
corfu--base | Base string, which is concatenated with the candidate. |
corfu--buffer-parameters | Default child frame buffer parameters. |
corfu--candidates | List of candidates. |
corfu--change-group | Undo change group. |
corfu--frame | Popup frame. |
corfu--frame-parameters | Default child frame parameters. |
corfu--hilit | Lazy candidate highlighting function. |
corfu--index | Index of current candidate or negative for prompt selection. |
corfu--initial-state | Initial Corfu state. |
corfu--input | Cons of last prompt contents and point. |
corfu--metadata | Completion metadata. |
corfu--mouse-ignore-map | Ignore all mouse clicks. |
corfu--preselect | Index of preselected candidate, negative for prompt selection. |
corfu--preview-ov | Current candidate overlay. |
corfu--scroll | Scroll position. |
corfu--total | Length of the candidate list ‘corfu--candidates’. |
corfu--width | Popup width of current completion to reduce width fluctuations. |
corfu-auto | Enable auto completion. |
corfu-bar-width | Width of the bar in units of the character width. |
corfu-border-width | Width of the border in pixels, only applies to GUI Emacs. |
corfu-continue-commands | Continue Corfu completion after executing these commands. |
corfu-count | Maximal number of candidates to show. |
corfu-cycle | Enable cycling for ‘corfu-next’ and ‘corfu-previous’. |
corfu-left-margin-width | Width of the left margin in units of the character width. |
corfu-map | Keymap used when popup is shown. |
corfu-margin-formatters | Registry for margin formatter functions. |
corfu-max-width | Popup maximum width in characters. |
corfu-min-width | Popup minimum width in characters. |
corfu-mode | Non-nil if Corfu mode is enabled. |
corfu-mode-hook | Hook run after entering or leaving ‘corfu-mode’. |
corfu-mode-map | Keymap used when ‘corfu-mode’ is active. |
corfu-on-exact-match | Configure how a single exact match should be handled. |
corfu-preselect | Configure if the prompt or first candidate is preselected. |
corfu-preview-current | Preview currently selected candidate. |
corfu-quit-at-boundary | Automatically quit at completion boundary. |
corfu-quit-no-match | Automatically quit if no matching candidate is found. |
corfu-right-margin-width | Width of the right margin in units of the character width. |
corfu-scroll-margin | Number of lines at the top and bottom when scrolling. |
corfu-separator | Component separator character. |
corfu-sort-function | Default sorting function. |
corfu-sort-override-function | Override sort function which overrides the ‘display-sort-function’. |
global-corfu-minibuffer | Corfu should be enabled in the minibuffer by ‘global-corfu-mode’. |
global-corfu-mode | Non-nil if Global Corfu mode is enabled. |
global-corfu-mode-hook | Hook run after entering or leaving ‘global-corfu-mode’. |
global-corfu-modes | Which major modes ‘corfu-mode’ is switched on in. |
Defined functions (56)
Defined faces (6)
corfu-annotations | Face used for annotations. |
corfu-bar | The background color is used for the scrollbar indicator. |
corfu-border | The background color used for the thin border. |
corfu-current | Face used to highlight the currently selected candidate. |
corfu-default | Default face, foreground and background colors used for the popup. |
corfu-deprecated | Face used for deprecated candidates. |