diff --git a/emacs/.emacs.d/config/init-editing.el b/emacs/.emacs.d/config/init-editing.el index 92a05a6..4b98d08 100644 --- a/emacs/.emacs.d/config/init-editing.el +++ b/emacs/.emacs.d/config/init-editing.el @@ -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) diff --git a/emacs/.emacs.d/config/init-evil.el b/emacs/.emacs.d/config/init-evil.el index 9fcd466..9c22813 100644 --- a/emacs/.emacs.d/config/init-evil.el +++ b/emacs/.emacs.d/config/init-evil.el @@ -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)