Skip to content

Commit

Permalink
spacemacs-base: evilify image-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Jun 7, 2016
1 parent ea77a5d commit 06a7731
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions layers/+distribution/spacemacs-base/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
(hi-lock :location built-in)
(holy-mode :location local :step pre)
(hybrid-mode :location local :step pre)
(image-mode :location built-in)
(linum :location built-in)
(package-menu :location built-in)
;; page-break-lines is shipped with spacemacs core
Expand Down Expand Up @@ -189,6 +190,11 @@
:evil-leader "tEh")
(spacemacs|diminish hybrid-mode " Ⓔh" " Eh"))))

(defun spacemacs-base/init-image-mode ()
(use-package image-mode
:config (evilified-state-evilify-map image-mode-map
:mode image-mode)))

(defun spacemacs-base/init-linum ()
(when dotspacemacs-line-numbers
(add-hook 'prog-mode-hook 'linum-mode)
Expand Down

0 comments on commit 06a7731

Please sign in to comment.