summaryrefslogtreecommitdiff
path: root/evil-collection-image.el
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2018-01-27 11:32:50 -0800
committerJames Nguyen <james@jojojames.com>2018-01-27 11:32:50 -0800
commit5bb93afb3fbcb9cf9b9c3a12a5e18bfbcf3418ed (patch)
tree057c29bb05fdfdb364e7c0e0ebcdc505b41c3428 /evil-collection-image.el
parent387fd5e4b83c2d513f9d65a0055429de7afc3d7a (diff)
Image: Use normal state
Diffstat (limited to 'evil-collection-image.el')
-rw-r--r--evil-collection-image.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/evil-collection-image.el b/evil-collection-image.el
index 9e65fd8..d079527 100644
--- a/evil-collection-image.el
+++ b/evil-collection-image.el
@@ -35,9 +35,9 @@
(defun evil-collection-image-setup ()
"Set up `evil' bindings for `image-mode'."
- (evil-set-initial-state 'image-mode 'motion)
+ (evil-set-initial-state 'image-mode 'normal)
- (evil-define-key 'motion image-mode-map
+ (evil-define-key 'normal image-mode-map
;; motion
"gg" 'image-bob
"G" 'image-eob
@@ -82,7 +82,7 @@
;; TODO: What if the user changes `evil-want-C-u-scroll' after this is run?
(when evil-want-C-u-scroll
- (evil-define-key 'motion image-mode-map
+ (evil-define-key 'normal image-mode-map
(kbd "C-u") 'image-scroll-down)))
(provide 'evil-collection-image)