-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinit.el
110 lines (97 loc) · 2.51 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
;;; init.el --- initialization file for Emacs
;;; Commentary:
;; Emacs startup file
;;; Code:
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t)
(add-to-list 'package-archives
'("melpa-stable" . "http://stable.melpa.org/packages/") t)
(add-to-list 'package-pinned-packages '(cider . "melpa-stable") t)
(add-to-list 'package-pinned-packages '(editorconfig . "melpa-stable") t)
(add-to-list 'package-pinned-packages '(js2-mode . "melpa-stable") t)
(add-to-list 'package-pinned-packages '(magit . "melpa-stable") t)
(add-to-list 'package-pinned-packages '(projectile . "melpa-stable") t)
(add-to-list 'package-pinned-packages '(super-save . "melpa-stable") t)
(add-to-list 'package-pinned-packages '(yaml-mode . "melpa-stable") t)
(add-to-list 'package-pinned-packages '(tide . "melpa-stable") t)
(add-to-list 'package-pinned-packages '(clj-refactor . "melpa-stable") t)
(add-to-list 'package-pinned-packages '(auto-virtualenv . "melpa-stable") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
(defvar my-packages
'(add-node-modules-path
auto-virtualenv
blacken
cider
clj-refactor
clojure-mode
clojure-mode-extra-font-locking
color-theme-sanityinc-tomorrow
company
company-jedi
company-quickhelp
dockerfile-mode
dumb-jump
editorconfig
elpy
emojify
exec-path-from-shell
flycheck
flycheck-clj-kondo
flymake-ruff
gptel
graphql-mode
ido-completing-read+
py-isort
js2-mode
js-comint
json-mode
just-mode
live-py-mode
magit
markdown-mode
move-text
multiple-cursors
pandoc-mode
paredit
polymode
projectile
pyenv-mode
prettier
rainbow-delimiters
sideline
sideline-flycheck
smex
super-save
tagedit
terraform-mode
tide
typescript-mode
treemacs
web-mode
which-key
yaml-mode))
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))
(add-to-list 'load-path "~/.emacs.d/customizations")
(load "misc.el")
(load "ui.el")
(load "shell-integration.el")
(load "navigation.el")
(load "editing.el")
(load "elisp-editing.el")
(load "setup-python-rdd-shell.el")
(load "setup-python-rdd-overlay.el")
(load "setup-python.el")
(load "setup-clojure.el")
(load "setup-html.el")
(load "setup-js.el")
(load "setup-markdown.el")
(load "setup-yaml.el")
(load "setup-docker.el")
(load "setup-llm.el")
(provide 'init)
;;; init.el ends here