Skip to content

Commit

Permalink
evil-redirect-digit-argument removed from evil -- workaround for evil…
Browse files Browse the repository at this point in the history
…-org-mode

See Somelauw/evil-org-mode#93
  • Loading branch information
happy-dude committed Oct 25, 2021
1 parent 2fdf27b commit 5e7b4c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions emacs/.config/emacs/conf/packages/evil-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
(global-evil-surround-mode 1)

;; evil-org-mode
;; https://github.com/Somelauw/evil-org-mode/issues/93
(fset 'evil-redirect-digit-argument 'ignore)
(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)

(add-to-list 'load-path "~/.config/emacs/plugins/evil-org-mode")
(require 'evil-org)
(add-hook 'org-mode-hook 'evil-org-mode)
Expand Down

0 comments on commit 5e7b4c2

Please sign in to comment.