Variable: corfu-history-mode

corfu-history-mode is a customizable variable defined in corfu-history.el.

Value

nil

Documentation

Non-nil if Corfu-History mode is enabled.

See the corfu-history-mode(var)/corfu-history-mode(fun) command for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node (emacs)Easy Customization) or call the function corfu-history-mode(var)/corfu-history-mode(fun).

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu-history.el
;;;###autoload
(define-minor-mode corfu-history-mode
  "Save completion history and sort candidates by history."
  :global t :group 'corfu
  (if corfu-history-mode
      (add-function :override corfu-sort-function #'corfu-history--sort)
    (remove-function corfu-sort-function #'corfu-history--sort)))