diff --git a/emacs/init.org b/emacs/init.org index 50b42cc..413c9a5 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -830,6 +830,18 @@ Emacs has a shell for every mood! (general-def 'normal "M-." #'xref-find-definitions) #+END_SRC +* Evil-numbers +Handy functions to increment/decrement numbers at point: +#+BEGIN_SRC emacs-lisp + (use-package evil-numbers + :straight (:host github :repo "janpath/evil-numbers") + :general + ((normal visual motion) "g+" 'evil-numbers/inc-at-pt) + ((normal visual motion) "g-" 'evil-numbers/dec-at-pt) + ((normal visual motion) "g C-+" 'evil-numbers/inc-at-pt-incremental) + ((normal visual motion) "g C--" 'evil-numbers/dec-at-pt-incremental)) +#+END_SRC + * Winner Winner is a minor mode that keeps an undo/redo history of the window configuration: #+BEGIN_SRC emacs-lisp