-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
68 lines (61 loc) · 1.8 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
;;; init --- Setup Emacs initialization process
;;; Commentary:
;;; Code:
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 6))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'use-package)
(let ((default-directory "~/.emacs.d/vendor/"))
(normal-top-level-add-to-load-path '("."))
(normal-top-level-add-subdirs-to-load-path))
(add-to-list 'load-path "~/.emacs.d/lisp")
(add-to-list 'load-path "~/.emacs.d/setup")
;; order dependent
(require 'setup-packages)
;; no order dependent
(require 'use-package)
(require 'setup-lsp)
(require 'setup-dart)
(require 'edit-functions)
(require 'bundle-functions)
(require 'android-functions)
(require 'asdf-functions)
(require 'setup-globals)
(require 'setup-company)
(require 'setup-dired)
(require 'setup-anzu)
(require 'setup-dpkg-dev)
(require 'setup-multiple-cursors)
(require 'setup-org)
(require 'setup-ruby)
(require 'setup-haskell)
(require 'setup-smartscan)
(require 'setup-projectile)
(require 'setup-helm)
(require 'setup-text-scale)
(require 'setup-whitespace)
(require 'setup-ui)
(require 'setup-navigation)
(require 'setup-git)
(require 'setup-smartparens)
(require 'setup-guide-key)
;; (require 'setup-go)
(require 'setup-elixir)
;; (require 'setup-wakatime)
(require 'setup-javascript)
(require 'setup-safe-local-variables)
(require 'setup-ein)
(require 'setup-octave)
(require 'setup-python)
(require 'setup-diminish)
(provide 'init)
;;; init.el ends here