diff options
author | Amin Bandali <bandali@gnu.org> | 2018-11-22 10:40:50 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-11-22 10:40:50 -0500 |
commit | 12a0f8f0caca07bcab2081d26c1c871f0bf41982 (patch) | |
tree | 93c4125c0cefe933261ecfb846e53dc682535cb1 | |
parent | d7e1ea831d7803a040135edf00d224ba6e80f613 (diff) | |
download | configs-12a0f8f0caca07bcab2081d26c1c871f0bf41982.tar.gz configs-12a0f8f0caca07bcab2081d26c1c871f0bf41982.tar.xz configs-12a0f8f0caca07bcab2081d26c1c871f0bf41982.zip |
[emacs/evil] allow evil-integration, but don't use undo-tree-mode
using evil-integration resolves issues like paren highlighting in
normal mode when cursor is 'on' the closing paren itself
Diffstat (limited to '')
-rw-r--r-- | init.org | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -716,17 +716,11 @@ customizing it. (use-package evil :demand t ;; :hook (org-src-mode . evil-motion-state) - :init - (setq evil-want-integration nil) :config (evil-mode 1) (general-swap-key nil '(normal motion) ";" ":") - (setq - evil-want-visual-char-semi-exclusive t - evil-move-beyond-eol t - ;; evil-move-cursor-back nil - ) + (setq evil-want-visual-char-semi-exclusive t) ;; motion state modes (dolist (mode '(ebdb-mode @@ -1254,12 +1248,14 @@ TODO: break this giant source block down into individual org sections. (list (regexp-quote (system-name)) nil nil))) (use-package undo-tree - :bind (("C-?" . undo-tree-undo) - ("M-_" . undo-tree-redo)) :config - (global-undo-tree-mode) - (setq undo-tree-mode-lighter "" - undo-tree-auto-save-history t)) + (global-undo-tree-mode -1)) + ;; :bind (("C-?" . undo-tree-undo) + ;; ("M-_" . undo-tree-redo)) + ;; :config + ;; (global-undo-tree-mode) + ;; (setq undo-tree-mode-lighter "" + ;; undo-tree-auto-save-history t)) #+end_src * Editing |