aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'dot.emacs.d/init.el')
-rw-r--r--dot.emacs.d/init.el34
1 files changed, 16 insertions, 18 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index 8da1b92..8046828 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -1,5 +1,4 @@
(package-initialize)
-
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t)
@@ -15,24 +14,23 @@
(server-start)
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(custom-enabled-themes (quote (sanityinc-tomorrow-blue)))
- '(custom-safe-themes
- (quote
- ("82d2cac368ccdec2fcc7573f24c3f79654b78bf133096f9b40c20d97ec1d8016" default)))
- '(package-selected-packages (quote (color-theme-sanityinc-tomorrow)))
- '(scroll-bar-adjust-thumb-portion nil))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )
+(setq custom-file
+ (concat user-emacs-directory
+ (convert-standard-filename "custom.el")))
+(load custom-file :noerror)
(use-package color-theme-sanityinc-tomorrow
:ensure t
:config (color-theme-sanityinc-tomorrow-blue))
+
+(use-package yaml-mode
+ :ensure t
+ :mode ("\\.yml\\'" . yaml-mode))
+
+(use-package linum-relative
+ :ensure t)
+(linum-mode)
+(linum-relative-global-mode)
+
+(add-to-list 'auto-mode-alist '("/mutt" . mail-mode))
+(add-hook 'mail-mode-hook '(lambda() (turn-on-auto-fill)))