Move evil-numbers config so it can use :general
This commit is contained in:
parent
c540378cc4
commit
03d760a16a
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user