-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.el
109 lines (97 loc) · 5.64 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
;; _____ ______ __ __ __ ______ __ ______ ______ __ __ ______ ______ ______
;; /\ __-./\ __ \/\ "-.\ \/\ \/\ ___\/\ \ /\ ___\ /\ ___\/\ "-./ \/\ __ \/\ ___\/\ ___\
;; \ \ \/\ \ \ __ \ \ \-. \ \ \ \ __\\ \ \___\ \___ \ \ \ __\\ \ \-./\ \ \ __ \ \ \___\ \___ \
;; \ \____-\ \_\ \_\ \_\\"\_\ \_\ \_____\ \_____\/\_____\ \ \_____\ \_\ \ \_\ \_\ \_\ \_____\/\_____\
;; \/____/ \/_/\/_/\/_/ \/_/\/_/\/_____/\/_____/\/_____/ \/_____/\/_/ \/_/\/_/\/_/\/_____/\/_____/
;; common lisp support
(require 'cl)
;; load paths
(add-to-list 'load-path "~/.emacs.d/customizations")
(load "~/.emacs.d/customizations/functions")
;; load path and exec-path from system $PATH
(set-exec-path-from-shell-PATH)
;; lod rbenv from path
(set-rbenv-path)
;; packages
(require 'package)
(package-initialize)
;; add package sources
(add-to-list 'package-archives '("elpa" . "http://tromey.com/elpa/"))
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t)
(load "~/.emacs.d/prelude-packages")
;; use projectile mode globally
(projectile-global-mode)
(load "~/.emacs.d/customizations/keys")
(load "~/.emacs.d/customizations/editing")
(load "~/.emacs.d/customizations/theme")
(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.
'(ansi-color-faces-vector
[default bold shadow italic underline bold bold-italic bold])
'(ansi-color-names-vector
(vector "#c5c8c6" "#cc6666" "#b5bd68" "#f0c674" "#81a2be" "#b294bb" "#8abeb7" "#373b41"))
'(custom-enabled-themes (quote (sanityinc-tomorrow-eighties)))
'(custom-safe-themes
(quote
("628278136f88aa1a151bb2d6c8a86bf2b7631fbea5f0f76cba2a0079cd910f7d" "06f0b439b62164c6f8f84fdda32b62fb50b6d00e8b01c2208e55543a6337433a" "01d8c9140c20e459dcc18addb6faebd7803f7d6c46d626c7966d3f18284c4502" "6ebb2401451dc6d01cd761eef8fe24812a57793c5ccc427b600893fa1d767b1d" "3539b3cc5cbba41609117830a79f71309a89782f23c740d4a5b569935f9b7726" "d72836155cd3b3e52fd86a9164120d597cbe12a67609ab90effa54710b2ac53b" "5d8caed7f4ed8929fd79e863de3a38fbb1aaa222970b551edfd2e84552fec020" "113ae6902d98261317b5507e55ac6e7758af81fc4660c34130490252640224a2" "e16a771a13a202ee6e276d06098bc77f008b73bbac4d526f160faa2d76c1dd0e" "ee17bcdaa3ce2c5b287dff4d4c1da13f45bfa2f1aa9e11ff0bbbebb2e6be79c5" "d677ef584c6dfc0697901a44b885cc18e206f05114c8a3b7fde674fce6180879" "dd4db38519d2ad7eb9e2f30bc03fba61a7af49a185edfd44e020aa5345e3dca7" "2a366939c7ae86b622f8d28d2d58c89f7a83d4d80cc945bc2f92ba48d7bac3ea" "08efabe5a8f3827508634a3ceed33fa06b9daeef9c70a24218b70494acdf7855" "8d6fb24169d94df45422617a1dfabf15ca42a97d594d28b3584dc6db711e0e0b" "e74d80bf86c7951b1a27994faa417f7e3b4a02f7a365ed224f032bd29f5d2d6d" "0c311fb22e6197daba9123f43da98f273d2bfaeeaeb653007ad1ee77f0003037" "49eea2857afb24808915643b1b5bd093eefb35424c758f502e98a03d0d3df4b1" "a1493957ee779057acdc4c337133f217dd7b2edfdeeffed903ba2f16246f665a" "5bd5af0deb1ab0e2c1b9c54d94a3f030529b6c7034fdf0d3cc4b0e7e0338cb91" "30fe7e72186c728bd7c3e1b8d67bc10b846119c45a0f35c972ed427c45bacc19" "8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" default)))
'(fci-rule-color "#eee8d5")
'(flycheck-color-mode-line-face-to-color (quote mode-line-buffer-id))
'(highlight-changes-colors (quote ("#d33682" "#6c71c4")))
'(highlight-tail-colors
(quote
(("#eee8d5" . 0)
("#B4C342" . 20)
("#69CABF" . 30)
("#69B7F0" . 50)
("#DEB542" . 60)
("#F2804F" . 70)
("#F771AC" . 85)
("#eee8d5" . 100))))
'(package-selected-packages
(quote
(color-theme-sanityinc-tomorrow color-theme zenburn-theme yari yaml-mode volatile-highlights solarized-theme smart-tab scss-mode sass-mode ruby-electric rspec-mode robe projectile php-mode paredit markdown-mode magithub less-css-mode haskell-mode go-mode gist expand-region company coffee-mode clojurescript-mode clojure-mode base16-theme auto-complete ample-theme ack-and-a-half)))
'(vc-annotate-background "#586e75")
'(vc-annotate-color-map
(quote
((20 . "#990A1B")
(40 . "#FF6E64")
(60 . "#cb4b16")
(80 . "#7B6000")
(100 . "#b58900")
(120 . "#DEB542")
(140 . "#546E00")
(160 . "#859900")
(180 . "#B4C342")
(200 . "#3F4D91")
(220 . "#6c71c4")
(240 . "#9EA0E5")
(260 . "#2aa198")
(280 . "#69CABF")
(300 . "#00629D")
(320 . "#268bd2")
(340 . "#69B7F0")
(360 . "#d33682"))))
'(vc-annotate-very-old-color "#93115C"))
(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.
'(diff-added ((t (:foreground "#559944"))))
'(diff-context ((t nil)))
'(diff-file-header ((((class color) (min-colors 88) (background dark)) (:foreground "RoyalBlue1"))))
'(diff-function ((t (:foreground "#00bbdd"))))
'(diff-header ((((class color) (min-colors 88) (background dark)) (:foreground "RoyalBlue1"))))
'(diff-hunk-header ((t (:foreground "#fbde2d"))))
'(diff-nonexistent ((t (:inherit diff-file-header :strike-through nil))))
'(diff-refine-change ((((class color) (min-colors 88) (background dark)) (:background "#182042"))) t)
'(diff-removed ((t (:foreground "#de1923"))))
'(flymake-errline ((t :underline "red")) t)
'(flymake-warnline ((t :underline "green")) t))
(put 'dired-find-alternate-file 'disabled nil)