summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/.emacs.d/init.el6
-rw-r--r--user/settings/emacs.nix1
2 files changed, 7 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index 5af2709c..c425d723 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -357,6 +357,12 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :ghook ('(magit-mode-hook git-rebase-mode-hook) #'turn-off-evil-quickscope-mode)
   :config (global-evil-quickscope-mode +1))
 
+(use-package evil-numbers
+  :after evil
+  :general (:states '(normal visual)
+                    "C-a" #'evil-numbers/inc-at-pt
+                    "C-q" #'evil-numbers/dec-at-pt))
+
 (use-package evil-org
   :after org
   :commands (evil-org-set-key-theme)
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index a16a2e14..2ce508f9 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -105,6 +105,7 @@ in
       evil-magit
       evil-matchit
       evil-mu4e
+      evil-numbers
       evil-org
       evil-quickscope
       evil-space