Skip to content

Features

  • Auto-completion with timer or character trigger (off by default).
  • Popup display with scrollbar indicator and arrow key navigation.
  • The popup can be summoned explicitly by pressing ‘TAB’ at any time.
  • The current candidate is inserted with ‘TAB’ and selected with ‘RET’.
  • Sorting by prefix, string length and alphabetically, optionally by history.
  • The selected candidate is previewed (configurable via corfu-preview-current).
  • The selected candidate is automatically committed on further input by default. (configurable via corfu-preview-current).
  • Supports the Orderless completion style. The filter string can contain arbitrary characters, after inserting a space via ‘M-SPC’ (configurable via corfu-quit-at-boundary and corfu-separator).
  • Lazy candidate highlighting for performance.
  • Support for candidate annotations (‘annotation-function’, ‘affixation-function’).
  • Deprecated candidates are displayed as crossed out.
  • Icons are provided by external packages via margin formatter functions.
  • Rich set of extensions: Quick keys, index keys, sorting by history, documentation in echo area, popup or separate buffer.