Function: vundo-mode

vundo-mode is an interactive and natively compiled function defined in vundo.el.

Signature

(vundo-mode)

Documentation

Mode for displaying the undo tree.

In addition to any hooks its parent mode special-mode might have run, this mode runs the hook vundo-mode-hook, as the final or penultimate step during initialization.

<down> vundo-next
<left> vundo-backward
<right> vundo-forward
<up> vundo-previous
C-g vundo-quit
C-x C-s vundo-save
D vundo--debug
RET vundo-confirm
a vundo-stem-root
b vundo-backward
d vundo-diff
e vundo-stem-end
f vundo-forward
i vundo--inspect
l vundo-goto-last-saved
m vundo-diff-mark
n vundo-next
p vundo-previous
q vundo-quit
r vundo-goto-next-saved
u vundo-diff-unmark
w vundo-next-root

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/386w2ds6bdh3gcz9k23jssw4cni4lfr2-emacs-packages-deps/share/emacs/site-lisp/elpa/vundo-2.4.0/vundo.el
(define-derived-mode vundo-mode special-mode
  "Vundo" "Mode for displaying the undo tree."
  (setq mode-line-format nil
        truncate-lines t
        cursor-type nil)
  (jit-lock-mode nil)
  (face-remap-add-relative 'default 'vundo-default)

  ;; Disable evil-mode, as normal-mode
  ;; key bindings override the ones set by vundo.
  (when (and (boundp 'evil-emacs-state-modes)
             (not (memq 'vundo-mode evil-emacs-state-modes)))
    (push 'vundo-mode evil-emacs-state-modes)))