FIX evil-org conflicting/outdated package

This commit is contained in:
Nathan Dwarshuis 2021-12-02 00:04:54 -05:00
parent 52d9e5d04a
commit 93a4d3f872
2 changed files with 2 additions and 13 deletions

View File

@ -3939,25 +3939,14 @@ Some of these commands just get in the way of being evil (which really means tha
:ID: ea04f214-0510-4a04-8ee4-2ac8e6955dde
:END:
#+BEGIN_SRC emacs-lisp
;; hack to fix evil removal of `evil-redirect-digit-argument' which will cause
;; evil-org to fail on load
;; see https://github.com/Somelauw/evil-org-mode/issues/93
(fset 'evil-redirect-digit-argument 'ignore)
(use-package evil-org
:straight evil-org-mode
:straight t
:after (evil org)
:delight
:config
(add-hook 'org-mode-hook 'evil-org-mode)
(add-hook 'evil-org-mode-hook 'evil-org-set-key-theme)
;; this was added to deal with bug above
(add-to-list 'evil-digit-bound-motions 'evil-org-beginning-of-line)
(evil-define-key 'motion 'evil-org-mode
(kbd "0") 'evil-org-beginning-of-line)
(evil-define-key 'normal org-mode-map
"g]" #'nd/org-goto-last-child-headline)

View File

@ -45,7 +45,7 @@
("evil-ReplaceWithRegister" . "91cc7bf21a94703c441cc9212214075b226b7f67")
("evil-collection" . "96ef16b3a03e917166835359e9eb869cdaafba86")
("evil-commentary" . "2dab6ac34d1617971768ad219d73af48f7473fec")
("evil-org-mode" . "59173083a1923ca940f86e0ff8d57af7fb9f0fef")
("evil-org-mode" . "26ad08b5f629370f57690315102140878891ef61")
("evil-surround" . "282a975bda83310d20a2c536ac3cf95d2bf188a5")
("f.el" . "50af874cd19042f17c8686813d52569b1025c76a")
("fill-column-indicator" . "c35f9de072c241699b57bcb46da84bed5af29cfe")