Function: projectile-other-window-command
projectile-other-window-command is an autoloaded, interactive and
byte-compiled function defined in projectile.el.
Signature
(projectile-other-window-command)
Documentation
Show the buffer of the next Projectile command in another window.
Set up the next command's buffer to be displayed in a new window (via
other-window-prefix) and keep projectile-command-map(var)/projectile-command-map(fun) active for the
next key sequence, so any Projectile key typed right after this command
gets the other-window treatment without re-typing the Projectile
prefix. Any non-Projectile command works as well; commands that use
switch-to-buffer are covered too, by temporarily enabling
switch-to-buffer-obey-display-actions.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;###autoload
(defun projectile-other-window-command ()
"Show the buffer of the next Projectile command in another window.
Set up the next command's buffer to be displayed in a new window (via
`other-window-prefix') and keep `projectile-command-map' active for the
next key sequence, so any Projectile key typed right after this command
gets the other-window treatment without re-typing the Projectile
prefix. Any non-Projectile command works as well; commands that use
`switch-to-buffer' are covered too, by temporarily enabling
`switch-to-buffer-obey-display-actions'."
(interactive)
(other-window-prefix)
(projectile--obey-display-actions-for-next-command)
(set-transient-map projectile-command-map)
(message "Display buffer of next (Projectile) command in a new window..."))