Function: nerd-icons-ibuffer-mode

nerd-icons-ibuffer-mode is an interactive and natively compiled function defined in nerd-icons-ibuffer.el.

Signature

(nerd-icons-ibuffer-mode &optional ARG)

Documentation

Display icons for all buffers in ibuffer.

This is a minor mode. If called interactively, toggle the Nerd-Icons-Ibuffer mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

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.

To check whether the minor mode is enabled in the current buffer, evaluate the variable nerd-icons-ibuffer-mode(var)/nerd-icons-ibuffer-mode(fun).

The mode's hook is called both when the mode is enabled and when it is disabled.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/ak43hmgddynw3xxp0dnf5nkc3pp5yrbr-emacs-packages-deps/share/emacs/site-lisp/elpa/nerd-icons-ibuffer-20251022.42/nerd-icons-ibuffer.el
;;;###autoload
(define-minor-mode nerd-icons-ibuffer-mode
  "Display icons for all buffers in ibuffer."
  :lighter nil
  (when (derived-mode-p 'ibuffer-mode)
    (setq-local ibuffer-formats (if nerd-icons-ibuffer-mode
                                    nerd-icons-ibuffer-formats
                                  nerd-icons-ibuffer-old-formats))
    (ibuffer-update nil t)))