init.el 9.1 KB

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