forked from purcell/emacs.d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
111 lines (83 loc) · 2.46 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
110
111
;;; This file bootstraps the configuration, which is divided into
;;; a number of other files.
(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))
(defconst *is-a-mac* (eq system-type 'darwin))
(defconst *is-a-linux* (eq system-type 'gnu/linux))
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(when (file-exists-p custom-file)
(load custom-file))
(require 'init-utils)
(require 'init-elpa)
(use-package init-ui)
(use-package init-exec-path)
(use-package project-local-variables)
(use-package diminish)
(use-package mwe-log-commands)
(use-package init-frame-hooks)
(use-package init-gui-frames)
(use-package init-uniquify)
(use-package init-ibuffer)
(use-package init-isearch)
(use-package init-ido)
(use-package init-recentf)
(use-package init-windows)
(use-package init-editing-utils)
(use-package init-compile)
(use-package init-flycheck)
(use-package init-auto-complete)
(use-package init-paredit)
(use-package init-lisp)
(use-package init-slime)
(use-package init-common-lisp)
(use-package init-mmm)
(use-package init-csv)
(use-package init-html)
(use-package init-css)
(use-package init-ruby-mode)
(use-package init-sql)
(use-package init-markdown)
(use-package wgrep)
(use-package init-hippie-expand)
(use-package init-dired)
(use-package init-grep)
(use-package init-vc)
(use-package init-git)
(use-package init-github)
(use-package init-misc)
(use-package init-buffer)
(use-package init-term)
(use-package init-ide)
(use-package init-web)
(use-package init-clojure)
(use-package init-scala)
(use-package init-python)
(use-package init-haskell)
(use-package init-r)
(use-package init-racket)
(use-package init-keys)
(use-package init-evil)
(use-package init-evil-keybindings)
(use-package gnuplot)
(use-package htmlize)
(use-package regex-tool)
;; Allow access from emacsclient
(use-package server)
(unless (server-running-p)
(server-start))
;; Allow users to provide an optional "init-local" containing personal settings
(when (file-exists-p (expand-file-name "init-local.el" user-emacs-directory))
(error "Please move init-local.el to ~/.emacs.d/lisp"))
(require 'init-local nil t)
;; Locales (setting them earlier in this file doesn't work in X)
(use-package init-locales)
(when *is-a-mac*
(use-package init-osx))
(when *is-a-linux*
(use-package init-linux))
;; If you are a vim use uncomment the following line
;; (setq evil-default-state 'normal)
(provide 'init)
;; Local Variables:
;; coding: utf-8
;; no-byte-compile: t
;; End: