 (add-hook 'tex-mode-hook 'turn-on-auto-fill)
 (add-hook 'markdown-mode-hook 'turn-on-auto-fill)
 
+;; magit
+;; brew install magit
+(require 'magit)
+(global-set-key (kbd "C-x C-m") 'magit-status)
+
 ;; editorconfig
 (if (not (package-installed-p 'editorconfig))
     (progn


;; UTF-8 as default encoding
(set-language-environment "UTF-8")

;; Do the packaging dance
(require 'package)

;; at startup
(package-refresh-contents)

;; Homebrew packages
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp")

;; Solarized theme
(if (not (package-installed-p 'solarized-theme))
    (progn
