init.el 9.0 KB

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