aboutsummaryrefslogtreecommitdiff
path: root/evil-maps.el
diff options
context:
space:
mode:
authorjmmathena <46335614+jmmathena@users.noreply.github.com>2021-10-21 16:04:56 -0500
committerGitHub <noreply@github.com>2021-10-21 23:04:56 +0200
commit17c635f6e1f538bf4b2c3c276ddd9d4d165a52fb (patch)
treec95fd2c8963dc04c6e128f6c30b824b60065be48 /evil-maps.el
parent215c39d1c4312ce5a3a66c19bbba61374d029c86 (diff)
Fix for #1518 custom functions bound to "0" break motion parsing (#1519)
* Modify evil-keypress-parser logic to be more modular * Rewrite tests and update visual line logic for updated digit handling * Completely remove need for redirect-digit-argument at cost of ugliness * Remove reference to obsolete func in evil-keybindings.el
Diffstat (limited to 'evil-maps.el')
-rw-r--r--evil-maps.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-maps.el b/evil-maps.el
index 11325c0..3c0f6a8 100644
--- a/evil-maps.el
+++ b/evil-maps.el
@@ -169,7 +169,7 @@
;;; Motion state
;; "0" is a special command when called first
-(evil-redirect-digit-argument evil-motion-state-map "0" 'evil-beginning-of-line)
+(define-key evil-motion-state-map "0" 'evil-beginning-of-line)
(define-key evil-motion-state-map "1" 'digit-argument)
(define-key evil-motion-state-map "2" 'digit-argument)
(define-key evil-motion-state-map "3" 'digit-argument)