From 9536042f2200d04effd34f4c475ec99c118ab84b Mon Sep 17 00:00:00 2001 From: Chen Bin Date: Sat, 2 Jan 2016 01:40:19 +1100 Subject: [PATCH] undo-tree hotkeys --- lisp/init-evil.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/init-evil.el b/lisp/init-evil.el index 99b4e50de0..d6718c1f96 100644 --- a/lisp/init-evil.el +++ b/lisp/init-evil.el @@ -443,7 +443,9 @@ "x1" 'delete-other-windows "x2" 'split-window-vertically "x3" 'split-window-horizontally - "xr" 'rotate-windows + "xrw" 'rotate-windows + "xru" 'undo-tree-save-state-to-register ; C-x r u + "xrU" 'undo-tree-restore-state-from-register ; C-x r U "xt" 'toggle-window-split "su" 'winner-undo "xu" 'winner-undo