 			)
 		  )
 
-;; 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)

;; Type over a region
(pending-delete-mode t)

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

			(setq mode-name "JS2")
			)
		  )
(setq-default js-indent-level 4
			  js2-allow-keywords-as-property-names t
			  js2-auto-insert-catch-block t
