-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
75 lines (63 loc) · 1.53 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
69
70
71
72
73
74
75
;;; init.el --- Custom init -*- lexical-binding: t -*-
;;; Commentary:
;;
;;; Code:
;; =========
;; Load path
;; =========
(add-to-list 'load-path "~/elisp/")
(add-to-list 'load-path "~/config-files/general/emacs-configs/")
;; ===========
;; core config
;; ===========
(require 'cl-lib)
(require 'mk_packages)
(require 'mk_better-defaults)
(require 'mk_helm-setup)
(require 'mk_magit)
(require 'mk_orgmode-setup)
(require 'mk_evil)
(require 'mk_mode-line)
(require 'mk_buffers-and-windows)
(require 'mk_session-management)
(require 'mk_company)
(require 'mk_copilot)
(require 'mk_yasnippet-setup)
(require 'mk_project)
(require 'mk_chatgpt)
(require 'mk_keybindings)
(require 'mk_helper-funcs)
;; =================
;; eval-after-load's
;; =================
(with-eval-after-load 'dired
(require 'mk_dired))
(with-eval-after-load 'cc-mode
(require 'mk_cc))
(with-eval-after-load 'elisp-mode
(require 'mk_elisp))
(with-eval-after-load 'tex-mode
(require 'mk_latex))
(with-eval-after-load 'python
(require 'mk_python))
(with-eval-after-load 'web-mode
(require 'mk_web-devel))
;; =========
;; autoloads
;; =========
;; NOTE: Use the command `(featurep 'bla)' to test wether the feature
;; bla has been loaded.
(autoload 'mk/search-web "mk_eww-search-engine"
"Select a search engine before running EWW." t)
(autoload 'ibuffer "mk_ibuffer-setup")
(autoload 'mk/call-ansi-term "mk_ansi-term")
;; =====
;; extra
;; =====
(global-set-key (kbd "<f5>")
(lambda ()
(interactive)
(require 'mk_keyfreq)
))
(provide 'init)
;;; init.el ends here