Add evil-numbers

This commit is contained in:
Jeremy Dormitzer 2020-01-07 11:14:34 -05:00
parent 8823eb2f33
commit b7c55e801f

View File

@ -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