{"id":13646679,"url":"https://github.com/cofi/evil-numbers","last_synced_at":"2025-04-21T21:31:13.970Z","repository":{"id":42110137,"uuid":"2311836","full_name":"cofi/evil-numbers","owner":"cofi","description":"Increment and decrement numbers in Emacs","archived":false,"fork":false,"pushed_at":"2024-04-16T01:41:36.000Z","size":205,"stargazers_count":118,"open_issues_count":11,"forks_count":23,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-02T01:26:20.941Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cofi.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-09-02T04:05:29.000Z","updated_at":"2024-06-20T10:07:04.000Z","dependencies_parsed_at":"2024-08-02T01:24:30.473Z","dependency_job_id":"56a97ac4-0797-49b7-b80c-06e1469ebaf8","html_url":"https://github.com/cofi/evil-numbers","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cofi%2Fevil-numbers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cofi%2Fevil-numbers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cofi%2Fevil-numbers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cofi%2Fevil-numbers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cofi","download_url":"https://codeload.github.com/cofi/evil-numbers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223880258,"owners_count":17219092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:03:03.053Z","updated_at":"2024-11-09T20:30:27.193Z","avatar_url":"https://github.com/cofi.png","language":"Emacs Lisp","readme":"* Evil Numbers\n  - Increment / Decrement binary, octal, decimal and hex literals\n\n  - works like C-a/C-x in vim, i.e. searches for number up to eol and then\n    increments or decrements and keep zero padding up (unlike in vim)\n\n  - When a region is active, as in evil's visual mode, all the\n    numbers within that region will be incremented/decremented (unlike\n    in vim)\n\n** Detected Literals\n    - binary, e.g. =0b0101=, =0B0101=\n    - octal, e.g. =0o755=, =0O700=\n    - hexadecimal, e.g. =0xDEADBEEF=, =0XCAFE=\n\n** Install\n   Put in =load-path=, =(require 'evil-numbers)= and bind, for example:\n\n   #+BEGIN_SRC emacs-lisp\n     (global-set-key (kbd \"C-c +\") 'evil-numbers/inc-at-pt)\n     (global-set-key (kbd \"C-c -\") 'evil-numbers/dec-at-pt)\n   #+END_SRC\n\n   or only in evil's normal state:\n\n   #+BEGIN_SRC emacs-lisp\n    (define-key evil-normal-state-map (kbd \"C-c +\") 'evil-numbers/inc-at-pt)\n    (define-key evil-normal-state-map (kbd \"C-c -\") 'evil-numbers/dec-at-pt)\n   #+END_SRC\n\n   For window system users the keypad =+= and =-= present an alternative that can be\n   directly bound without shadowing the regular =+= and =-=:\n\n   #+BEGIN_SRC emacs-lisp\n   (define-key evil-normal-state-map (kbd \"\u003ckp-add\u003e\") 'evil-numbers/inc-at-pt)\n   (define-key evil-normal-state-map (kbd \"\u003ckp-subtract\u003e\") 'evil-numbers/dec-at-pt)\n   #+END_SRC\n\n** Usage\n   Position cursor on literal and play with your numbers!\n\n** Known Bugs\n   See http://github.com/cofi/evil-numbers/issues\n\n** Contributors\n   - Matthew Fidler \u003cmatthew.fidler@gmail.com\u003e\n   - Michael Markert \u003cmarkert.michael@gmail.com\u003e\n","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcofi%2Fevil-numbers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcofi%2Fevil-numbers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcofi%2Fevil-numbers/lists"}