summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-11-22 10:40:50 -0500
committerAmin Bandali <bandali@gnu.org>2018-11-22 10:40:50 -0500
commit12a0f8f0caca07bcab2081d26c1c871f0bf41982 (patch)
tree93c4125c0cefe933261ecfb846e53dc682535cb1
parentd7e1ea831d7803a040135edf00d224ba6e80f613 (diff)
downloadconfigs-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.org20
1 files changed, 8 insertions, 12 deletions
diff --git a/init.org b/init.org
index 1c847ff..ea41e65 100644
--- a/init.org
+++ b/init.org
@@ -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