-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
151 lines (128 loc) · 3.57 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
;;; init.el -*- lexical-binding: t; -*-
;; ____________________________________________________________________________
;;; COMPILATION SETTINGS
;; Compile ahead of time to avoid lagging caused by sudden compilation
;; (setq! package-native-compile t)
;; (setq! native-comp-jit-compilation nil)
;; Always use these additional arguments to sync or upgrade Doom Emacs:
;; doom sync --gc --aot
;; doom upgrade --aot
;; ____________________________________________________________________________
;;; DOOM MODULES
(doom! :input
;; layout
:completion
(corfu +orderless +icons +dabbrev)
(vertico +icons)
:ui
;; deft
doom
hl-todo
;; indent-guides
;; ligatures
modeline
ophints
(popup +defaults)
(vc-gutter +pretty)
;; vi-tilde-fringe
window-select
;; workspaces
;; zen
:editor
(evil +everywhere)
file-templates
;; fold
(format +onsave +lsp)
lispy
rotate-text
snippets
word-wrap
:emacs
(dired +icons)
electric
eww
(ibuffer +icons)
undo
vc
:term
eshell
vterm
:checkers
(syntax +flymake)
;; (spell +flyspell)
;; grammar
:tools
;; ansible
;; biblio
;; collab
debugger
;; direnv
;; docker
;; editorconfig
eval
(lookup +dictionary)
(lsp +eglot)
(magit +forge)
make
;; pass
pdf
tree-sitter
;; upload
:os
(:if (featurep :system 'macos) macos)
(tty +osc)
:lang
;; (cc +lsp +tree-sitter)
common-lisp
data
(elixir +lsp +tree-sitter +iex +mix)
emacs-lisp
(erlang +lsp +tree-sitter)
graphviz
;; (haskell +lsp +tree-sitter)
(json +lsp +tree-sitter)
;; (javascript +lsp +tree-sitter)
(lua +fennel +lsp +tree-sitter)
markdown
;; nim
(ocaml +tree-sitter)
(org +pandoc)
;; python
(racket +lsp)
;; rest
;; (rust +lsp +tree-sitter)
;; (scheme +gambit)
(sh +fish +lsp +tree-sitter)
;; solidity
;; swift
(web +lsp +tree-sitter)
;; (yaml +lsp +tree-sitter)
;; zig
:email
;; (mu4e +org +gmail)
:app
;; calendar
;; emms
;; everywhere
;; irc
;; (rss +org)
:config
(default +bindings +smartparens +gnupg))
;; ____________________________________________________________________________
;;; DECLARATIONS
(defvar my-theme-light nil "The default light theme.")
(defvar my-theme-dark nil "The default dark theme.")
(defvar my-frame-opacity 100 "The default frame opacity.")
;; ____________________________________________________________________________
;;; COMMENTARY
;; This file controls what Doom modules are enabled and what order they load
;; in. Remember to run 'doom sync' after modifying it!
;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
;; documentation. There you'll find a link to Doom's Module Index where all
;; of our modules are listed, including what flags they support.
;; NOTE Move your cursor over a module's name (or its flags) and press 'K' (or
;; 'C-c c k' for non-vim users) to view its documentation. This works on
;; flags as well (those symbols that start with a plus).
;;
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
;; directory (for easy access to its source code).