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 +childframe)           ; 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       vertico           ; the search engine of the future
 28
 29       :ui
 30       ;;deft              ; notational velocity for Emacs
 31       doom              ; what makes DOOM look the way it does
 32       doom-dashboard    ; a nifty splash screen for Emacs
 33       doom-quit         ; DOOM quit-message prompts when you quit Emacs
 34       (emoji +unicode)  ; 🙂
 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 +tree)             ; 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 +childframe)              ; 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       ;;biblio            ; Writes a PhD for you (citation needed)
 89       ;;debugger          ; FIXME stepping through code, to help you add bugs
 90       direnv
 91       ;;docker
 92       editorconfig      ; let someone else argue about tabs vs spaces
 93       ;;ein               ; tame Jupyter notebooks with emacs
 94       (eval +overlay)     ; run code, run (also, repls)
 95       ;;gist              ; interacting with github gists
 96       lookup              ; navigate your code and its documentation
 97       lsp               ; M-x vscode
 98       magit             ; a git porcelain for Emacs
 99       make              ; run make tasks from Emacs
100       ;;pass              ; password manager for nerds
101                                        ;pdf               ; pdf enhancements
102       ;;prodigy           ; FIXME managing external services & code builders
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       tree-sitter
108
109       :os
110       ;;(:if IS-MAC macos)  ; improve compatibility with macOS
111       tty               ; improve the terminal Emacs experience
112
113       :lang
114       ;;agda              ; types of types of types of types...
115       ;;beancount         ; mind the GAAP
116       ;;cc                ; C > C++ == 1
117       ;;clojure           ; java with a lisp
118       ;;common-lisp       ; if you've seen one lisp, you've seen them all
119       ;;coq               ; proofs-as-programs
120       ;;crystal           ; ruby at the speed of c
121       ;;csharp            ; unity, .NET, and mono shenanigans
122       data              ; config/data formats
123       ;;(dart +flutter)   ; paint ui and not much else
124       ;;dhall
125       ;;elixir            ; erlang done right
126       ;;elm               ; care for a cup of TEA?
127       emacs-lisp        ; drown in parentheses
128       ;;erlang            ; an elegant language for a more civilized age
129       ;;ess               ; emacs speaks statistics
130       ;;factor
131       ;;faust             ; dsp, but you get to keep your soul
132       ;;fsharp            ; ML stands for Microsoft's Language
133       ;;fstar             ; (dependent) types and (monadic) effects and Z3
134       ;;gdscript          ; the language you waited for
135       (go +lsp +tree-sitter)         ; the hipster dialect
136       (haskell +lsp +tree-sitter)    ; a language that's lazier than I am
137       ;;hy                ; readability of scheme w/ speed of python
138       ;;idris             ; a language you can depend on
139       (json +tree-sitter)              ; At least it ain't XML
140       (java +lsp +tree-sitter)              ; the poster child for carpal tunnel syndrome
141       (javascript +tree-sitter)        ; all(hope(abandon(ye(who(enter(here))))))
142       ;;julia             ; a better, faster MATLAB
143       kotlin            ; a better, slicker Java(Script)
144       latex             ; writing papers in Emacs has never been so fun
145       ;;lean              ; for folks with too much to prove
146       ;;ledger            ; be audit you can be
147       lua               ; one-based indices? one-based indices
148       markdown          ; writing docs for people to ignore
149       ;;nim               ; python + lisp at the speed of c
150       ;;nix               ; I hereby declare "nix geht mehr!"
151       ;;ocaml             ; an objective camel
152       org               ; organize your plain life in plain text
153       ;;php               ; perl's insecure younger brother
154       ;;plantuml          ; diagrams for confusing people more
155       ;;purescript        ; javascript, but functional
156       python            ; beautiful is better than ugly
157       ;;qt                ; the 'cutest' gui framework ever
158       ;;(racket +lsp)            ; a DSL for DSLs
159       ;;raku              ; the artist formerly known as perl6
160       ;;rest              ; Emacs as a REST client
161       ;;rst               ; ReST in peace
162       (ruby +rails +lsp +tree-sitter +rbenv)     ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
163       (rust +lsp)              ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
164       ;;scala             ; java, but good
165       ;;(scheme +guile)   ; a fully conniving family of lisps
166       sh                ; she sells {ba,z,fi}sh shells on the C xor
167       ;;sml
168       ;;solidity          ; do you need a blockchain? No.
169       ;;swift             ; who asked for emoji variables?
170       ;;terra             ; Earth and Moon in alignment for performance.
171       (web +lsp +tree-sitter)               ; the tubes
172       yaml              ; JSON, but readable
173       zig               ; C, but simpler
174
175       :email
176       mu4e
177       ;;notmuch
178       ;;wanderlust
179
180       :app
181       ;;calendar
182       ;;emms
183       ;;everywhere        ; *leave* Emacs!? You must be joking
184       ;;irc               ; how neckbeards socialize
185       ;;(rss +org)        ; emacs as an RSS reader
186       ;;twitter           ; twitter client https://twitter.com/vnought
187
188       :config
189       ;;literate
190       (default +bindings +smartparens))