 	  ido-everywhere t)
 (ido-mode t)
 
+;; image modes
+(add-hook 'image-mode-hook 'eimp-mode)
+;; (add-hook 'eimp-mode-hook 'eimp-fit-image-to-window)
+
 ;; js-mode
 (add-hook 'js-mode-hook
 		  (lambda ()

			)
		  )

;; Image modes
(add-hook 'image-mode-hook 'eimp-mode)
;; (add-hook 'eimp-mode-hook 'eimp-fit-image-to-window)

;; ido-mode
(setq ido-enable-flex-matching t
	  ido-all-frames 'visible

(define-key global-map (kbd "C-c i") 'magit-status)
(define-key global-map (kbd "C-c g") 'magit-status)
(define-key global-map (kbd "C-c l") 'magit-log-simple)
(setq magit-commit-all-when-nothing-staged nil
      magit-revert-item-confirm t
      magit-process-connection-type nil
      process-connection-type nil)
(add-hook 'magit-log-edit-mode-hook 'flyspell-mode)

;; prog-mode
(add-hook 'prog-mode-hook 'flyspell-prog-mode)
