From b7c55e801f6e4d7b100b35d76a68b6c0acbcf317 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 7 Jan 2020 11:14:34 -0500 Subject: [PATCH] Add evil-numbers --- emacs/init.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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