#913245 RFP: elpa-evil-numbers -- increment and decrement numerical literals

Package:
wnpp
Source:
wnpp
Submitter:
"W. Martin Borgert"
Date:
2025-11-29 16:42:11 UTC
Severity:
wishlist
#913245#5
Date:
2018-11-08 17:18:32 UTC
From:
To:
* Package name    : elpa-evil-numbers
   Version         : 0.4
   Upstream Author : Michael Markert <markert.michael@googlemail.com>
* URL             : https://github.com/cofi/evil-numbers
* License         : GPL3+
   Programming Lang: emacs-lisp
   Description     : increment and decrement numerical literals

  * Increment / Decrement binary, octal, decimal and hex literals
  * works like C-a/C-x in vim, i.e. searches for number up to eol
    and then increments or decrements and keep zero padding up
    (unlike in  vim)
  * When a region is active, as in evil’s visual mode, all the
    numbers within that region will be incremented/decremented
    (unlike in vim)

Usage:

(require 'evil-numbers)
(global-set-key (kbd "C-c +") 'evil-numbers/inc-at-pt)
(global-set-key (kbd "C-c -") 'evil-numbers/dec-at-pt)