-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathinit.el
51 lines (39 loc) · 1.34 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
;;; init.el --- Load the full configuration
;;; Commentary:
;;; This file bootstraps the whole configuration, making some required
;;; checks and performing all the necessary imports.
;;; Code:
;; Store backtraces in case errors occur -- disabled by default
;; (setq debug-on-error t)
;; Save the configuration directory for future use, in case the git
;; repository is cloned elsewhere please edit this variable
(defvar dvm/user-configuration-directory "~/etc/dvm-emacs")
;; Define a custom file to not pollute init.el
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
;; Include the ./lisp directory in the path, since all the files are
;; there
(add-to-list 'load-path
(expand-file-name "lisp" dvm/user-configuration-directory))
;; Require the home-brewed functions and utilities
(require 'dvm-functions)
;; Initialize the basic environment and packages
(require 'init-packages)
(require 'init-defaults)
(require 'init-evil)
(require 'init-gui)
(require 'init-completion)
;; Initialize the must-have tools
(require 'init-org)
(require 'init-vc)
(require 'init-projectile)
(require 'init-lsp)
(require 'init-nix)
;; Initialize language-specific setups
(require 'init-python)
(require 'init-markup)
;; Initialize some other modes
(require 'init-irc)
(require 'init-mail)
(require 'init-rss)
(provide 'init)
;;; init.el ends here