 (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

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