Bug#913245: RFP: elpa-evil-numbers -- increment and decrement numerical literals
Package: wnpp
Severity: wishlist
* 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)
Reply to: