Skip to content

Commit

Permalink
Evil-redirect-digit-argument was removed from evil
Browse files Browse the repository at this point in the history
  • Loading branch information
tshu-w committed Oct 24, 2021
1 parent 11ea6e4 commit 1ffa152
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lisp/lang-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,8 @@ Org Review Transient state
"ZZ" 'org-capture-finalize
"ZQ" 'org-capture-kill
"ZR" 'org-capture-refile))

(fset 'evil-redirect-digit-argument 'ignore)
:config
(defun surround-drawer ()
(let ((dname (read-from-minibuffer "" "")))
Expand All @@ -673,7 +675,11 @@ Org Review Transient state

(with-eval-after-load 'evil-surround
(add-to-list 'evil-surround-pairs-alist '(?: . surround-drawer))
(add-to-list 'evil-surround-pairs-alist '(?# . surround-code))))
(add-to-list 'evil-surround-pairs-alist '(?# . surround-code)))

(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))

(use-package appt
:after org
Expand Down

0 comments on commit 1ffa152

Please sign in to comment.