diff --git a/mode-customizations.el b/mode-customizations.el index b899caf..2a0e045 100644 --- a/mode-customizations.el +++ b/mode-customizations.el @@ -2,6 +2,7 @@ ;; Load Mode Customizations ;; +;; Programming languages (load-file (config-path "mode-customizations/coffee-mode.el")) (load-file (config-path "mode-customizations/css-mode.el")) (load-file (config-path "mode-customizations/emacs-lisp-mode.el")) @@ -9,9 +10,11 @@ (load-file (config-path "mode-customizations/feature-mode.el")) (load-file (config-path "mode-customizations/js-mode.el")) (load-file (config-path "mode-customizations/markdown-mode.el")) -(load-file (config-path "mode-customizations/magit-log-edit-mode.el")) (load-file (config-path "mode-customizations/php-mode.el")) (load-file (config-path "mode-customizations/python-mode.el")) (load-file (config-path "mode-customizations/ruby-mode.el")) (load-file (config-path "mode-customizations/sh-mode.el")) (load-file (config-path "mode-customizations/yaml-mode.el")) + +;; Misc modes +(load-file (config-path "mode-customizations/magit-mode.el")) diff --git a/mode-customizations/magit-log-edit-mode.el b/mode-customizations/magit-mode.el similarity index 55% rename from mode-customizations/magit-log-edit-mode.el rename to mode-customizations/magit-mode.el index 25fa8c9..b6ede1e 100644 --- a/mode-customizations/magit-log-edit-mode.el +++ b/mode-customizations/magit-mode.el @@ -1,3 +1,9 @@ +;; Make Magit it look a bit prettier with my theme +(add-hook 'magit-mode-hook + (lambda () + (linum-mode t))) + +;; Write commit messages in style (add-hook 'magit-log-edit-mode-hook (lambda () (flyspell-mode)