Move evil-numbers config so it can use :general

This commit is contained in:
Jeremy Dormitzer 2021-03-03 09:28:20 -05:00
parent c540378cc4
commit 03d760a16a
2 changed files with 9 additions and 8 deletions

View File

@ -96,4 +96,13 @@
(use-package ws-butler
:hook (prog-mode . ws-butler-mode))
;; Inc/dec numbers
(use-package evil-numbers
:straight (:host github :repo "juliapath/evil-numbers")
:general
(normal "g+" #'evil-numbers/inc-at-pt)
(normal "g-" #'evil-numbers/dec-at-pt)
(normal "g M-+" #'evil-numbers/inc-at-pt-incremental)
(normal "g M--" #'evil-numbers/dec-at-pt-incremental))
(provide 'init-editing)

View File

@ -13,12 +13,4 @@
(use-package evil-collection
:after evil)
(use-package evil-numbers
:straight (:host github :repo "juliapath/evil-numbers")
:general
(normal "g+" #'evil-numbers/inc-at-pt)
(normal "g-" #'evil-numbers/dec-at-pt)
(normal "g M-+" #'evil-numbers/inc-at-pt-incremental)
(normal "g M--" #'evil-numbers/dec-at-pt-incremental))
(provide 'init-evil)