FIX evil-org conflicting/outdated package
This commit is contained in:
parent
52d9e5d04a
commit
93a4d3f872
13
etc/conf.org
13
etc/conf.org
|
@ -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
|
:ID: ea04f214-0510-4a04-8ee4-2ac8e6955dde
|
||||||
:END:
|
:END:
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+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
|
(use-package evil-org
|
||||||
:straight evil-org-mode
|
:straight t
|
||||||
:after (evil org)
|
:after (evil org)
|
||||||
:delight
|
:delight
|
||||||
:config
|
:config
|
||||||
(add-hook 'org-mode-hook 'evil-org-mode)
|
(add-hook 'org-mode-hook 'evil-org-mode)
|
||||||
(add-hook 'evil-org-mode-hook 'evil-org-set-key-theme)
|
(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
|
(evil-define-key 'normal org-mode-map
|
||||||
"g]" #'nd/org-goto-last-child-headline)
|
"g]" #'nd/org-goto-last-child-headline)
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
("evil-ReplaceWithRegister" . "91cc7bf21a94703c441cc9212214075b226b7f67")
|
("evil-ReplaceWithRegister" . "91cc7bf21a94703c441cc9212214075b226b7f67")
|
||||||
("evil-collection" . "96ef16b3a03e917166835359e9eb869cdaafba86")
|
("evil-collection" . "96ef16b3a03e917166835359e9eb869cdaafba86")
|
||||||
("evil-commentary" . "2dab6ac34d1617971768ad219d73af48f7473fec")
|
("evil-commentary" . "2dab6ac34d1617971768ad219d73af48f7473fec")
|
||||||
("evil-org-mode" . "59173083a1923ca940f86e0ff8d57af7fb9f0fef")
|
("evil-org-mode" . "26ad08b5f629370f57690315102140878891ef61")
|
||||||
("evil-surround" . "282a975bda83310d20a2c536ac3cf95d2bf188a5")
|
("evil-surround" . "282a975bda83310d20a2c536ac3cf95d2bf188a5")
|
||||||
("f.el" . "50af874cd19042f17c8686813d52569b1025c76a")
|
("f.el" . "50af874cd19042f17c8686813d52569b1025c76a")
|
||||||
("fill-column-indicator" . "c35f9de072c241699b57bcb46da84bed5af29cfe")
|
("fill-column-indicator" . "c35f9de072c241699b57bcb46da84bed5af29cfe")
|
||||||
|
|
Loading…
Reference in New Issue