[Emacs] Quickfix for evil-org-mode
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lucien Cartier-Tilet 2021-11-07 18:16:47 +01:00
parent 0126affe5c
commit 835954f30d
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -3136,6 +3136,8 @@ 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")
@ -3144,7 +3146,12 @@ 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