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.

This variable was added, or its default value changed, in projectile version 2.0.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/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 '(choice
          (const :tag "Remove" remove)
          (const :tag "Move to end" move-to-end)
          (const :tag "Keep" keep))
  :package-version '(projectile . "2.0.0"))