Variable: projectile-globally-ignored-modes

projectile-globally-ignored-modes is a customizable variable defined in projectile.el.

Value

("erc-mode" "help-mode" "completion-list-mode" "Buffer-menu-mode"
 "gnus-.*-mode" "occur-mode")

Documentation

A list of regular expressions for major modes ignored by projectile.

If a buffer is using a given major mode, projectile will ignore it for functions working with buffers.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-globally-ignored-modes
  '("erc-mode"
    "help-mode"
    "completion-list-mode"
    "Buffer-menu-mode"
    "gnus-.*-mode"
    "occur-mode")
  "A list of regular expressions for major modes ignored by projectile.

If a buffer is using a given major mode, projectile will ignore
it for functions working with buffers."
  :group 'projectile
  :type '(repeat string))