[Emacs] evil-org issue #93 finally solved

Issue https://github.com/Somelauw/evil-org-mode/issues/93 finally got
solved by PR https://github.com/Somelauw/evil-org-mode/pull/96,
workaround code can now be removed
This commit is contained in:
Lucien Cartier-Tilet 2021-11-18 20:08:32 +01:00
parent 9d66c2a22c
commit 10c9564ea9
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -3168,8 +3168,6 @@ comfortable than the default ones you get with evil and org naked.
:straight (:build t) :straight (:build t)
:after (org) :after (org)
:hook (org-mode . evil-org-mode) :hook (org-mode . evil-org-mode)
:init
(fset 'evil-redirect-digit-argument 'ignore) ;; quickfix for https://github.com/Somelauw/evil-org-mode/issues/93
:config :config
(setq-default evil-org-movement-bindings (setq-default evil-org-movement-bindings
'((up . "s") '((up . "s")
@ -3178,12 +3176,7 @@ comfortable than the default ones you get with evil and org naked.
(right . "r"))) (right . "r")))
(evil-org-set-key-theme '(textobjects navigation calendar additional shift operators)) (evil-org-set-key-theme '(textobjects navigation calendar additional shift operators))
(require 'evil-org-agenda) (require 'evil-org-agenda)
(evil-org-agenda-set-keys) (evil-org-agenda-set-keys))
;; quickfix for https://github.com/Somelauw/evil-org-mode/issues/93
(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))
#+end_src #+end_src
This package is a small package Ive written that helps me when This package is a small package Ive written that helps me when