 
 ;; Magic auto pep8 on saving
 (require 'py-autopep8)
-(setq py-autopep8-options '("--max-line-length=100"))
+(setq py-autopep8-options '("--max-line-length=120"))
 (add-hook 'python-mode-hook 'py-autopep8-enable-on-save)
 
 ;;; Theme
-;(require 'color-theme)
-;(color-theme-initialize)
-;(color-theme-deep-blue)
-
 (load-theme 'deep-blue t t)
 (enable-theme 'deep-blue)
 
 ;;; Yaml mode
 (require 'yaml-mode)
 
+;;; Rust mode
+(require 'rust-mode)
+(require 'rustic)
+
 (add-hook 'csharp-mode-hook 'omnisharp-mode)
 (add-hook 'python-mode-hook 'jedi:setup)
+
+(add-hook 'shell-mode-hook
+	    (apply-partially 'with-editor-export-editor "GIT_EDITOR"))
+(add-hook 'shell-mode-hook 'with-editor-export-git-editor)
+
 (setq jedi:complete-on-dot t)
 
 ;;; JS indent

(setq inferior-lisp-program "/usr/bin/sbcl")
(setq slime-contribs '(slime-fancy))

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.

 ;; If there is more than one, they won't work right.
 '(inhibit-startup-screen t)
 '(package-selected-packages
   '(yasnippet rustic elixir-mode protobuf-mode dhall-mode rust-auto-use rust-mode omnisharp csharp-mode lsp-mode pacmacs haskell-emacs arduino-mode flutter csv-mode dockerfile-mode ## markdown-mode py-autopep8 terraform-mode haskell-mode yaml-mode go-mode flycheck-pyflakes apib-mode slime jedi magit fill-column-indicator)))
'(backup-directory-alist (quote (("." . "~/.emacs.d/backup"))))

;;; .emacs ends here
