There are two bindings for
C-?) defined in undo-tree, but now I don't want those bindings(
delete those), I just want to bind
undo-tree-redo(short and simple), I tried
(define-key undo-tree-map (kbd "C-_") nil)
(global-unset-key (kbd "C-_"))
to delete the bindings, they all doesn't work(only work for current session), if I restart Emacs, the
C-_ will still be bound to
But if I set above two lines at the same time, the binding will be gone, that's really weird, how can I use one line to delete the bound.
BTW, if you can delete the old bindings and set the new binding(
C-z) at the same time, that would be better?