-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit.el
39 lines (28 loc) · 1.11 KB
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
;; Add in your own as you wish:
(defvar my-packages '(starter-kit starter-kit-lisp starter-kit-bindings starter-kit-ruby nrepl)
"A list of packages to ensure are installed at launch.")
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))
(add-to-list 'load-path "~/.emacs.d")
(add-to-list 'load-path "~/.emacs.d/customizations")
(add-to-list 'load-path "~/.emacs.d/utilities")
(add-to-list 'load-path "~/.emacs.d/vendor")
(load-file "~/.emacs.d/load-directory.el")
; load utility functions
(mapcar 'load-directory '("~/.emacs.d/utilities"))
;; Load vendor stuff
(vendor 'revive)
(vendor 'color-theme-solarized)
(add-to-list 'load-path "~/.emacs.d/vendor/scala-mode") ;; This must be done without autorequire
(vendor 'ensime)
(vendor 'sr-speedbar)
(load "~/.emacs.d/vendor/ess-5.14/lisp/ess-site")
; load customizations
(mapcar 'load-directory '("~/.emacs.d/customizations"))