-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
52 lines (41 loc) · 1.37 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
(let ((default-directory (expand-file-name "config/" user-emacs-directory)))
(normal-top-level-add-subdirs-to-load-path))
;; If in old-emacs runs early init el. It contains speed-up hacks and UI fixes.
(when (version< emacs-version "27") (load-file (expand-file-name "early-init.el" user-emacs-directory)))
(require 'k-packaging) ; straight - use-package etc
(require 'k-mini-funcs) ; raw functions for raw emacs
(require 'k-defaults) ; emacs confs for raw emacs ( emacs level vars, global-modes, hooks)
(require 'k-helm)
(require 'core-extra)
(require 'k_company)
(when (require 'k-minors)
(require 'k-colors-mode)
(require 'k-format)
(require 'k_theme)
(require 'k-spell-fu)
(k-colors-global-mode 1))
;; ;; languages
(when (require 'k-langs)
(require 'k-dotfiles)
(require 'k-restclient)
(require 'k_html)
(require 'k_python)
(require 'k_js)
(require 'k_elisp)
;; (require 'k-scala)
;; (require 'k_nim)
;; (kadir-scala)
;; (require 'k_clang)
;; (require 'k-elixir)
;; (require 'k-plantuml)
;; (require 'k-clojure)
;; (require 'k_rust)
;; (require 'k-go)
)
(require 'k-eshell)
(require 'k_org)
(require 'k_dired)
(require 'binds)
;; And lastly, experimental tryings
(when (file-exists-p (expand-file-name "experimental.el" user-emacs-directory))
(load-file (expand-file-name "experimental.el" user-emacs-directory)))