]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/emacs/init.el
htop: enable SystemdUser
[julm/julm-nix.git] / home-manager / profiles / emacs / init.el
1 ;;; init.el -*- lexical-binding: t; -*-
2
3 ;; This file controls what Doom modules are enabled and what order they load
4 ;; in. Remember to run 'doom sync' after modifying it!
5
6 ;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
7 ;; documentation. There you'll find a "Module Index" link where you'll find
8 ;; a comprehensive list of Doom's modules and what flags they support.
9
10 ;; NOTE Move your cursor over a module's name (or its flags) and press 'K' (or
11 ;; 'C-c c k' for non-vim users) to view its documentation. This works on
12 ;; flags as well (those symbols that start with a plus).
13 ;;
14 ;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
15 ;; directory (for easy access to its source code).
16
17 (doom! :input
18 ;;chinese
19 ;;japanese
20 ;;layout ; auie,ctsrnm is the superior home row
21
22 :completion
23 company ; the ultimate code completion backend
24 ;;helm ; the *other* search engine for love and life
25 ;;ido ; the other *other* search engine...
26 (ivy ; a search engine for love and life
27 +fuzzy
28 +icons
29 )
30
31 :ui
32 ;;deft ; notational velocity for Emacs
33 doom ; what makes DOOM look the way it does
34 doom-dashboard ; a nifty splash screen for Emacs
35 doom-quit ; DOOM quit-message prompts when you quit Emacs
36 ;;fill-column ; a `fill-column' indicator
37 hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
38 ;;hydra
39 ;;indent-guides ; highlighted indent columns
40 ;;(ligatures +extra) ; ligatures and symbols to make your code pretty again
41 ;;minimap ; show a map of the code on the side
42 modeline ; snazzy, Atom-inspired modeline, plus API
43 ;;nav-flash ; blink cursor line after big motions
44 ;;neotree ; a project drawer, like NERDTree for vim
45 ophints ; highlight the region an operation acts on
46 (popup +defaults) ; tame sudden yet inevitable temporary windows
47 ;;tabs ; a tab bar for Emacs
48 (treemacs +lsp) ; a project drawer, like neotree but cooler
49 unicode ; extended unicode support for various languages
50 ;;(emoji +unicode) ; 🙂
51 vc-gutter ; vcs diff in the fringe
52 vi-tilde-fringe ; fringe tildes to mark beyond EOB
53 window-select ; visually switch windows
54 workspaces ; tab emulation, persistence & separate workspaces
55 zen ; distraction-free coding or writing
56
57 :editor
58 (evil +everywhere); come to the dark side, we have cookies
59 file-templates ; auto-snippets for empty files
60 fold ; (nigh) universal code folding
61 (format +onsave) ; automated prettiness
62 ;;god ; run Emacs commands without modifier keys
63 ;;lispy ; vim for lisp, for people who don't like vim
64 ;;multiple-cursors ; editing in many places at once
65 ;;objed ; text object editing for the innocent
66 ;;parinfer ; turn lisp into python, sort of
67 ;;rotate-text ; cycle region at point between text candidates
68 snippets ; my elves. They type so I don't have to
69 word-wrap ; soft wrapping with language-aware indent
70
71 :emacs
72 dired ; making dired pretty [functional]
73 electric ; smarter, keyword-based electric-indent
74 ;;ibuffer ; interactive buffer management
75 (undo
76 ;+tree ; not sure it's maintained, and breaks with lsp formating
77 ) ; persistent, smarter undo for your inevitable mistakes
78 vc ; version-control and Emacs, sitting in a tree
79
80 :term
81 ;;eshell ; the elisp shell that works everywhere
82 ;;shell ; simple shell REPL for Emacs
83 ;;term ; basic terminal emulator for Emacs
84 vterm ; the best terminal emulation in Emacs
85
86 :checkers
87 syntax ; tasing you for every semicolon you forget
88 ;;(spell +flyspell) ; tasing you for misspelling mispelling
89 ;;grammar ; tasing grammar mistake every you make
90
91 :tools
92 ;;ansible
93 ;;debugger ; FIXME stepping through code, to help you add bugs
94 direnv
95 ;;docker
96 ;;editorconfig ; let someone else argue about tabs vs spaces
97 ;;ein ; tame Jupyter notebooks with emacs
98 (eval +overlay) ; run code, run (also, repls)
99 ;;gist ; interacting with github gists
100 lookup ; navigate your code and its documentation
101 (lsp
102 ;+eglot
103 )
104 magit ; a git porcelain for Emacs
105 ;(magit +forge)
106 ;;make ; run make tasks from Emacs
107 pass ; password manager for nerds
108 pdf ; pdf enhancements
109 ;;prodigy ; FIXME managing external services & code builders
110 ;;rgb ; creating color strings
111 ;;taskrunner ; taskrunner for all your projects
112 ;;terraform ; infrastructure as code
113 tmux ; an API for interacting with tmux
114 ;;upload ; map local to remote projects via ssh/ftp
115
116 :os
117 (:if IS-MAC macos) ; improve compatibility with macOS
118 tty ; improve the terminal Emacs experience
119
120 :lang
121 ;;agda ; types of types of types of types...
122 ;;beancount ; mind the GAAP
123 ;;cc ; C > C++ == 1
124 ;;clojure ; java with a lisp
125 ;;common-lisp ; if you've seen one lisp, you've seen them all
126 ;;coq ; proofs-as-programs
127 ;;crystal ; ruby at the speed of c
128 ;;csharp ; unity, .NET, and mono shenanigans
129 data ; config/data formats
130 ;;(dart +flutter) ; paint ui and not much else
131 ;;elixir ; erlang done right
132 ;;elm ; care for a cup of TEA?
133 emacs-lisp ; drown in parentheses
134 ;;erlang ; an elegant language for a more civilized age
135 ;;ess ; emacs speaks statistics
136 ;;factor
137 ;;faust ; dsp, but you get to keep your soul
138 ;;fsharp ; ML stands for Microsoft's Language
139 ;;fstar ; (dependent) types and (monadic) effects and Z3
140 ;;gdscript ; the language you waited for
141 ;;(go +lsp) ; the hipster dialect
142 (haskell +lsp) ; a language that's lazier than I am
143 ;;hy ; readability of scheme w/ speed of python
144 ;;idris ; a language you can depend on
145 ;;json ; At least it ain't XML
146 ;;(java +meghanada) ; the poster child for carpal tunnel syndrome
147 ;;javascript ; all(hope(abandon(ye(who(enter(here))))))
148 ;;julia ; a better, faster MATLAB
149 ;;kotlin ; a better, slicker Java(Script)
150 ;;latex ; writing papers in Emacs has never been so fun
151 ;;lean ; for folks with too much to prove
152 ;;ledger ; be audit you can be
153 ;;lua ; one-based indices? one-based indices
154 markdown ; writing docs for people to ignore
155 ;;nim ; python + lisp at the speed of c
156 nix ; I hereby declare "nix geht mehr!"
157 ;;ocaml ; an objective camel
158 ; DOC: https://github.com/hlissner/doom-emacs/blob/develop/modules/lang/org/README.org
159 (org ; organize your plain life in plain text
160 +roam2
161 +noter
162 ;+pretty
163 ;+dragndrop ; drag & drop files/images into org buffers
164 ;+hugo ; use Emacs for hugo blogging
165 ;+pandoc ; export-with-pandoc support
166 ;+present ; using org-mode for presentations
167 )
168 ;;php ; perl's insecure younger brother
169 ;;plantuml ; diagrams for confusing people more
170 ;;purescript ; javascript, but functional
171 ;;python ; beautiful is better than ugly
172 ;;qt ; the 'cutest' gui framework ever
173 ;;racket ; a DSL for DSLs
174 ;;raku ; the artist formerly known as perl6
175 ;;rest ; Emacs as a REST client
176 ;;rst ; ReST in peace
177 ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
178 ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
179 ;;scala ; java, but good
180 ;;(scheme +guile) ; a fully conniving family of lisps
181 (sh +lsp) ; she sells {ba,z,fi}sh shells on the C xor
182 ;;sml
183 ;;solidity ; do you need a blockchain? No.
184 ;;swift ; who asked for emoji variables?
185 ;;terra ; Earth and Moon in alignment for performance.
186 ;;web ; the tubes
187 ;;yaml ; JSON, but readable
188 ;;zig ; C, but simpler
189
190 :email
191 ;;(mu4e +gmail)
192 ;;notmuch
193 ;;(wanderlust +gmail)
194
195 :app
196 ;;calendar
197 ;;emms
198 ;;everywhere ; *leave* Emacs!? You must be joking
199 ;;irc ; how neckbeards socialize
200 (rss +org) ; emacs as an RSS reader
201 ;;twitter ; twitter client https://twitter.com/vnought
202
203 :config
204 ;;literate
205 (default +bindings +smartparens)
206
207 ;;(setq doom-theme 'doom-one-light)
208 ;;(setq doom-theme 'doom-city-lights)
209 )
210
211 ;(setq +literate-config-file "~/.config/doom/ReadMe.org")