aboutsummaryrefslogtreecommitdiff
path: root/evil-integration.el
diff options
context:
space:
mode:
authorbmag <devnull@localhost>2015-08-09 14:53:28 +0300
committerbmag <devnull@localhost>2015-08-09 14:53:28 +0300
commit2efcf2ad0f4ea15cf75869f7f305046400b84add (patch)
tree817225d8296a27d22d79311f0a4c633917456c79 /evil-integration.el
parent35826b4d6eead86a536ad6b4430dff9ed19c12ae (diff)
avy integration: use evil-motion-state-map
Diffstat (limited to 'evil-integration.el')
-rw-r--r--evil-integration.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/evil-integration.el b/evil-integration.el
index 10a6394..e20aa1c 100644
--- a/evil-integration.el
+++ b/evil-integration.el
@@ -518,8 +518,8 @@ Based on `evil-enclose-ace-jump-for-motion'."
avy-goto-word-1
avy-goto-subword-0
avy-goto-subword-1))
- (global-set-key (vector 'remap command)
- (intern-soft (format "evil-%s" command))))
+ (define-key evil-motion-state-map
+ (vector 'remap command) (intern-soft (format "evil-%s" command))))
;;; nXhtml/mumamo
;; ensure that mumamo does not toggle evil through its globalized mode