The idea is to display an undo-tree and move between nodes with f/b/n/p. You can enable it with M-x vundo RET. Yuan