Function: projectile-commander
projectile-commander is an autoloaded, interactive and byte-compiled
function defined in projectile.el.
Signature
(projectile-commander)
Documentation
Execute a Projectile command with a single letter.
The user is prompted for a single character indicating the action to invoke.
The ? character describes the
available actions.
See def-projectile-commander-method for defining new methods.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
;;;###autoload
(defun projectile-commander ()
"Execute a Projectile command with a single letter.
The user is prompted for a single character indicating the action to invoke.
The `?' character describes the
available actions.
See `def-projectile-commander-method' for defining new methods."
(interactive)
(let* ((choices (mapcar #'car projectile-commander-methods))
(prompt (concat "Select Projectile command [" choices "]: "))
(ch (read-char-choice prompt choices))
(fn (caddr (assq ch projectile-commander-methods))))
(funcall fn)))