Function: evil-switch-to-windows-last-buffer

evil-switch-to-windows-last-buffer is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-switch-to-windows-last-buffer)

Documentation

Switch to the last open buffer of the current window.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-command evil-switch-to-windows-last-buffer ()
  "Switch to the last open buffer of the current window."
  :repeat nil
  (let ((previous-place (evil-alternate-buffer)))
    (when previous-place
      (switch-to-buffer (car previous-place)))))