-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
77 lines (65 loc) · 2.24 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
;; Customizations are under custom/ and are loaded individually.
;; Everything else is via el-get, and el-get-init-files
;; Customizations
(add-to-list 'load-path "~/.emacs.d/custom/")
;; Order is important, zone setup is required by emacs
;; TODO: clean up so that order isnt important!
(load "init-zone.el")
(load "init-emacs.el")
(load "init-ui.el")
(if (eq system-type 'darwin)
(load "init-osx.el"))
(load "init-ido.el")
(load "init-org.el")
;; (load "init-merlin.el")
;; END Customizations
;; el-get basic setup
(add-to-list 'load-path "~/.emacs.d/el-get/")
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
(defun bootstrap-el-get ()
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/dimitri/el-get/master/el-get-install.el")
(goto-char (point-max))
(eval-print-last-sexp)))
(unless (require 'el-get nil 'noerror)
(bootstrap-el-get))
(add-to-list 'el-get-recipe-path "~/.emacs.d/el-get-user/recipes")
(eval-after-load 'info
'(progn (info-initialize)
(add-to-list 'Info-directory-list
"~/.emacs.d/el-get/el-get/")))
(setq el-get-user-package-directory "~/.emacs.d/el-get-init-files/")
;; My packages
(defvar my-packages '(ace-jump-mode
ag
rainbow-delimiters
paredit
company-mode
clojure-mode
clj-refactor
seq
spinner
cider
darcula-theme
dash
exec-path-from-shell
find-file-in-project
ido-ubiquitous
inf-ruby
keyfreq
magit
markdown-mode
multiple-cursors
org-journal
rubocop
scss-mode
swiper ; required by ffip for ivy-mode
tuareg-mode
yaml-mode
yasnippet
web-mode
wc-mode
wgrep))
(el-get 'sync my-packages)
;; END el-get setup