From 03d760a16a448003457ef6f257ee15cf51c00a85 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 3 Mar 2021 09:28:20 -0500 Subject: [PATCH] Move evil-numbers config so it can use :general --- emacs/.emacs.d/config/init-editing.el | 9 +++++++++ emacs/.emacs.d/config/init-evil.el | 8 -------- 2 files changed, 9 insertions(+), 8 deletions(-) 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)