Function: global-corfu-mode

global-corfu-mode is an autoloaded, interactive and byte-compiled function defined in corfu.el.

Signature

(global-corfu-mode &optional ARG)

Documentation

Toggle Corfu mode in many buffers.

Specifically, Corfu mode is enabled in all buffers where corfu--on would do it.

With prefix ARG, enable Global Corfu mode if ARG is positive; otherwise, disable it.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

See corfu-mode(var)/corfu-mode(fun) for more information on Corfu mode.

global-corfu-modes is used to control which modes this minor mode is used in.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu.el
;;;###autoload
(define-globalized-minor-mode global-corfu-mode
  corfu-mode corfu--on
  :group 'corfu
  :predicate t
  (remove-hook 'minibuffer-setup-hook #'corfu--minibuffer-on)
  (when (and global-corfu-mode global-corfu-minibuffer)
    (add-hook 'minibuffer-setup-hook #'corfu--minibuffer-on 100)))