-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
49 lines (35 loc) · 1.23 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
;; init.el --- Emacs configuration
;; AUTHOR: Chris Bergquist
;;; Commentary:
;;; Code:
;; INSTALL PACKAGES
;; --------------------------------------------------------------------
(add-to-list 'load-path "~/.emacs.d/lisp/")
(add-to-list 'load-path "~/.emacs.d/lisp/development")
(add-to-list 'load-path "~/.emacs.d/lisp/install-packages/")
(add-to-list 'load-path "~/.emacs.d/lisp/private/")
(add-to-list 'load-path "~/.emacs.d/lisp/tools/")
(add-to-list 'load-path "~/.emacs.d/lisp/ui/")
(load "install-packages")
(require 'better-defaults)
;; BASIC CUSTOMIZATION
;; --------------------------------------------------------------------
(defvar backup-dir (expand-file-name "~/.emacs.d/backup/"))
(defvar autosave-dir (expand-file-name "~/.emacs.d/autosave/"))
(setq inhibit-startup-message t
initial-scratch-message nil
backup-directory-alist (list (cons ".*" backup-dir))
auto-save-list-file-prefix autosave-dir
auto-save-file-name-transforms `((".*" ,autosave-dir t)))
(menu-bar-mode 0)
(toggle-scroll-bar 0)
(tool-bar-mode 0)
(load-theme 'doom-one t)
(global-linum-mode t)
(global-auto-revert-mode t)
(defalias 'yes-or-no-p 'y-or-n-p)
(load "private")
(load "tools")
(load "development")
(load "ui")
;;; init.el ends here