aboutsummaryrefslogtreecommitdiffstats
path: root/init.el
blob: c9cdceb44fb76b1258fa69e2b28a4da27ed3cb28 (plain) (blame)
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
;; -*- lexical-binding: t; -*-
(require 'org)

(setq user-emacs-directory (expand-file-name "~/.emacs.d"))
(add-to-list 'load-path user-emacs-directory)
(let ((org-file (expand-file-name "config.org" user-emacs-directory))
      (el-file  (expand-file-name "config.el" user-emacs-directory)))
  (when (or (not (file-exists-p el-file))
            (file-newer-than-file-p org-file el-file))
    (org-babel-tangle-file org-file))
  (load-file el-file))
(require 'config)

(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.
 '(package-selected-packages
   '(ace-window clang-format color-theme-sanityinc-solarized company
				counsel dashboard diredfl doom-themes evil-collection
				evil-mu4e hugoista ivy-posframe ivy-rich leetcode
				lsp-ui magit olivetti org-bullets ox-hugo sis
				yasnippet)))
(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.
 )