FIX remove evil undo tree to fix org-agenda ivy bug? (and nasty lock)

This commit is contained in:
Nathan Dwarshuis 2020-11-24 00:01:52 -05:00
parent 21c7eadd02
commit eecafd253a
1 changed files with 4 additions and 20 deletions

View File

@ -28,7 +28,6 @@ This is my personal emacs config. It is quite massive. Please use the table of c
- [[#editing][editing]] - [[#editing][editing]]
- [[#standardization][standardization]] - [[#standardization][standardization]]
- [[#auto-completion][auto completion]] - [[#auto-completion][auto completion]]
- [[#undo][undo]]
- [[#parenthesis-matching][parenthesis matching]] - [[#parenthesis-matching][parenthesis matching]]
- [[#sudo-edit][sudo edit]] - [[#sudo-edit][sudo edit]]
- [[#formats-and-languages][formats and languages]] - [[#formats-and-languages][formats and languages]]
@ -680,6 +679,9 @@ Allows certain processes to run in multithreaded manner. For things like IO this
(dired-async-mode 1)) (dired-async-mode 1))
#+END_SRC #+END_SRC
** file IO ** file IO
:PROPERTIES:
:ID: c2ab0b32-dad0-4d57-9193-39aba91675a1
:END:
Emacs will warn user when opening a file over a certain limit. Raise this to 1GB. Emacs will warn user when opening a file over a certain limit. Raise this to 1GB.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq large-file-warning-threshold 1000000000) (setq large-file-warning-threshold 1000000000)
@ -777,23 +779,6 @@ Company provides a dropdown of completion options. It has many backends which ar
(setq company-idle-delay 0 (setq company-idle-delay 0
company-minimum-prefix-length 3)) company-minimum-prefix-length 3))
#+END_SRC #+END_SRC
** undo
:PROPERTIES:
:ID: 4e1b46fe-6e34-4b5e-9ff3-e4331c939f39
:END:
I find it weird that most programs do not have a tree-like tool to navigate undo information...because this is literally how most programs store this data.
=undo-tree= package adds a nice undo tree buffer to visualize history and also displays diffs to easily show what changed.
Undo tree is also used by evil mode (see below).
#+BEGIN_SRC emacs-lisp
(use-package undo-tree
:straight t
:delight
:config
(setq undo-tree-visualizer-diff t)
(global-undo-tree-mode))
#+END_SRC
** parenthesis matching ** parenthesis matching
:PROPERTIES: :PROPERTIES:
:ID: a8d75763-b67d-448e-a95f-04cfee0fb824 :ID: a8d75763-b67d-448e-a95f-04cfee0fb824
@ -3927,13 +3912,12 @@ I like being evil. All package and custom bindings go here.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package evil (use-package evil
:straight t :straight t
:after undo-tree
:init :init
;; this is required to make evil collection work ;; this is required to make evil collection work
(setq evil-want-integration t (setq evil-want-integration t
evil-want-keybinding nil evil-want-keybinding nil
;; evil now integrates with undo-tree ;; evil now integrates with undo-tree
evil-undo-system 'undo-tree) evil-undo-system 'undo-redo)
:config :config
(evil-mode 1)) (evil-mode 1))
#+END_SRC #+END_SRC