Variable: projectile-current-project-on-switch

projectile-current-project-on-switch is a customizable variable defined in projectile.el.

Value

remove

Documentation

Determines whether to display current project when switching projects.

When set to remove current project is not included, move-to-end will display current project and the end of the list of known projects, keep will leave the current project at the default position.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-current-project-on-switch 'remove
  "Determines whether to display current project when switching projects.

When set to `remove' current project is not included, `move-to-end'
will display current project and the end of the list of known
projects, `keep' will leave the current project at the default
position."
  :group 'projectile
  :type '(radio
          (const :tag "Remove" remove)
          (const :tag "Move to end" move-to-end)
          (const :tag "Keep" keep)))