Browse Source

Add undo in selection

master
Maxime Wack 2 years ago
parent
commit
6c64386736
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      .config/emacs/init.el

+ 3
- 2
.config/emacs/init.el View File

@@ -326,7 +326,8 @@ OPT is the optional arg to the original function"
(:states 'visual
"l" 'evil-delete
"H" 'evil-change
"J" 'evil-join)
"J" 'evil-join
"u" 'undo)

(:states '(visual normal motion emacs)
"é" 'hydra-window/body)
@@ -1037,7 +1038,7 @@ So we need to define bindings in a hook."
:config
(setq undo-tree-auto-save-history nil
undo-tree-history-directory-alist nil
undo-tree-enable-undo-in-region nil)
undo-tree-enable-undo-in-region t)

(add-to-list 'display-buffer-alist '("*undo-tree" ; Undo-tree is displayed in a side window
(display-buffer-reuse-window display-buffer-in-side-window)


Loading…
Cancel
Save