 ;;; magit
 (global-set-key "\C-cg" 'magit-status)
 ;;; speedbar
+(require 'speedbar)
+(require 'sr-speedbar)
+
 (custom-set-variables
  '(speedbar-show-unknown-files t)
  '(speedbar-update-flag nil)

 '(js-indent-level 2)
 '(make-backup-files nil)
 '(nxml-child-indent 2)
 '(package-archives '(("melpa-stable" . "http://stable.melpa.org/packages/")
		      ("marmalade" . "http://marmalade-repo.org/packages/")
                      ("gnu" . "http://elpa.gnu.org/packages/")
                      ("melpa" . "http://melpa.org/packages/")))
 '(speedbar-frame-parameters
   '((width . 45)
     (minibuffer)

			       (unsplittable . t)
			       (left-fringe . 0))))

(global-set-key "\C-c\C-s" 'sr-speedbar-open)
(global-set-key "\C-cs" 'sr-speedbar-select-window)

;;; fonts
(add-to-list 'default-frame-alist '(font . "Source Code Pro-12"))
