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