12

I just hit SPC a u and it opened the undo-redo tree. Now I can't operate it.
I go on the tree, press enter and nothing happen. I can't close it!
Either :q is unrecognized. How do I operate this ?

2
  • 1
    Although this is not technically cross-posting, emacs.stackexchange.com forum participants should be aware that there is an identical thread in reddit.com: reddit.com/r/emacs/comments/54hptg/…
    – lawlist
    Sep 26, 2016 at 1:41
  • what is SPC a u? Jun 25, 2017 at 7:07

2 Answers 2

12

On Vim editing style, naturally:

  • j and k to navigate through the tree up and down.

  • h and l to switch branches.

When using Emacs editing style:

  • n and p to navigate through the tree up and down.

  • f and b to switch branches.

On both editing styles:

  • q or C-g to quit and leave in current state.

  • C-q to abort changes.

Note: Undo-Tree is a very powerful package and has lots of useful/cool features that are comprehensively explained only in its source code embedded documentation, which could be visualized by calling:

M-x finder-commentary <RET>

then type:

undo-tree <RET>

Or take a look at the Online Undo-tree documentation


Other useful commands:

  • d Toggle diff display.

  • t Toggle display of time-stamps.

  • s Toggle keyboard selection mode.

  • , and < Scroll left

  • . and > Scroll right

2
  • h and l to move from branch to branch (the current one is highlighted).
  • C-n and C-p to move up and down the tree.

When you are ready press q and you are out.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.