init.el 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. ;;; init.el -*- lexical-binding: t; -*-
  2. ;; Copy me to ~/.doom.d/init.el or ~/.config/doom/init.el, then edit me!
  3. (doom! :input
  4. ;;chinese
  5. ;;japanese
  6. :completion
  7. company ; the ultimate code completion backend
  8. (ivy ; a search engine for love and life
  9. +icons
  10. +fuzzy)
  11. ;;helm ; the *other* search engine for love and life
  12. ;;ido ; the other *other* search engine...
  13. :ui
  14. deft ; notational velocity for Emacs
  15. doom ; what makes DOOM look the way it does
  16. doom-dashboard ; a nifty splash screen for Emacs
  17. doom-quit ; DOOM quit-message prompts when you quit Emacs
  18. ;;fill-column ; a `fill-column' indicator
  19. hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
  20. ;;hydra
  21. ;;indent-guides ; highlighted indent columns
  22. modeline ; snazzy, Atom-inspired modeline, plus API
  23. nav-flash ; blink the current line after jumping
  24. ;;neotree ; a project drawer, like NERDTree for vim
  25. ophints ; highlight the region an operation acts on
  26. (popup ; tame sudden yet inevitable temporary windows
  27. +all ; catch all popups that start with an asterix
  28. +defaults) ; default popup rules
  29. ;;(pretty-code +fira) ; replace bits of code with pretty symbols
  30. ;;tabbar ; FIXME an (incomplete) tab bar for Emacs
  31. ;;treemacs ; a project drawer, like neotree but cooler
  32. unicode ; extended unicode support for various languages
  33. vc-gutter ; vcs diff in the fringe
  34. vi-tilde-fringe ; fringe tildes to mark beyond EOB
  35. window-select ; visually switch windows
  36. workspaces ; tab emulation, persistence & separate workspaces
  37. :editor
  38. (evil +everywhere); come to the dark side, we have cookies
  39. file-templates ; auto-snippets for empty files
  40. fold ; (nigh) universal code folding
  41. ;;(format +onsave) ; automated prettiness
  42. ;;lispy ; vim for lisp, for people who dont like vim
  43. multiple-cursors ; editing in many places at once
  44. ;;objed ; text object editing for the innocent
  45. ;;parinfer ; turn lisp into python, sort of
  46. rotate-text ; cycle region at point between text candidates
  47. snippets ; my elves. They type so I don't have to
  48. ;;word-wrap ; soft wrapping with language-aware indent
  49. :emacs
  50. (dired
  51. +ranger
  52. +icons)
  53. electric ; smarter, keyword-based electric-indent
  54. ibuffer ; interactive buffer management
  55. vc ; version-control and Emacs, sitting in a tree
  56. :checkers
  57. syntax ; tasing you for every semicolon you forget
  58. spell ; tasing you for misspelling mispelling
  59. grammar ; tasing grammar mistake every you make
  60. :term
  61. eshell ; a consistent, cross-platform shell (WIP)
  62. ;;shell ; a terminal REPL for Emacs
  63. term ; terminals in Emacs
  64. ;;vterm ; another terminals in Emacs
  65. :tools
  66. ansible
  67. debugger ; FIXME stepping through code, to help you add bugs
  68. direnv
  69. docker
  70. editorconfig ; let someone else argue about tabs vs spaces
  71. ;;ein ; tame Jupyter notebooks with emacs
  72. (eval +overlay) ; run code, run (also, repls)
  73. gist ; interacting with github gists
  74. (lookup ; helps you navigate your code and documentation
  75. +docsets) ; ...or in Dash docsets locally
  76. ;;lsp
  77. ;;macos ; MacOS-specific commands
  78. magit ; a git porcelain for Emacs
  79. make ; run make tasks from Emacs
  80. pass ; password manager for nerds
  81. pdf ; pdf enhancements
  82. ;;prodigy ; FIXME managing external services & code builders
  83. ;;rgb ; creating color strings
  84. terraform ; infrastructure as code
  85. ;;tmux ; an API for interacting with tmux
  86. ;;upload ; map local to remote projects via ssh/ftp
  87. ;;wakatime
  88. :lang
  89. ;;agda ; types of types of types of types...
  90. ;;assembly ; assembly for fun or debugging
  91. ;;cc ; C/C++/Obj-C madness
  92. ;;clojure ; java with a lisp
  93. ;;common-lisp ; if you've seen one lisp, you've seen them all
  94. ;;coq ; proofs-as-programs
  95. crystal ; ruby at the speed of c
  96. ;;csharp ; unity, .NET, and mono shenanigans
  97. data ; config/data formats
  98. ;;erlang ; an elegant language for a more civilized age
  99. (elixir +lsp) ; erlang done right
  100. elm ; care for a cup of TEA?
  101. emacs-lisp ; drown in parentheses
  102. ;;ess ; emacs speaks statistics
  103. ;;fsharp ; ML stands for Microsoft's Language
  104. (go +lsp) ; the hipster dialect
  105. ;;(haskell +intero) ; a language that's lazier than I am
  106. ;;hy ; readability of scheme w/ speed of python
  107. ;;idris ;
  108. ;;(java +meghanada) ; the poster child for carpal tunnel syndrome
  109. (javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
  110. julia ; a better, faster MATLAB
  111. ;;kotlin ; a better, slicker Java(Script)
  112. ;;latex ; writing papers in Emacs has never been so fun
  113. ledger ; an accounting system in Emacs
  114. ;;lua ; one-based indices? one-based indices
  115. markdown ; writing docs for people to ignore
  116. nim ; python + lisp at the speed of c
  117. ;;nix ; I hereby declare "nix geht mehr!"
  118. ;;ocaml ; an objective camel
  119. (org ; organize your plain life in plain text
  120. +brain ; an org brain?
  121. +dragndrop ; file drag & drop support
  122. +hugo
  123. +gnuplot
  124. +ipython ; ipython support for babel
  125. +journal
  126. +pandoc ; pandoc integration into org's exporter
  127. +pomodoro
  128. +present) ; using Emacs for presentations
  129. ;;perl ; write code no one else can comprehend
  130. ;;php ; perl's insecure younger brother
  131. plantuml ; diagrams for confusing people more
  132. ;;purescript ; javascript, but functional
  133. (python +lsp) ; beautiful is better than ugly
  134. ;;qt ; the 'cutest' gui framework ever
  135. racket ; a DSL for DSLs
  136. rest ; Emacs as a REST client
  137. (ruby +lsp) ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
  138. (rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
  139. (scala +lsp) ; java, but good
  140. scheme ; a fully conniving family of lisps
  141. (sh +fish) ; she sells (ba|z|fi)sh shells on the C xor
  142. ;;solidity ; do you need a blockchain? No.
  143. ;;swift ; who asked for emoji variables?
  144. ;;terra ; Earth and Moon in alignment for performance.
  145. web ; the tubes
  146. ;;vala ; GObjective-C
  147. :email
  148. ;;(mu4e +gmail) ; WIP
  149. notmuch ; WIP
  150. ;;(wanderlust +gmail) ; WIP
  151. ;; Applications are complex and opinionated modules that transform Emacs
  152. ;; toward a specific purpose. They may have additional dependencies and
  153. ;; should be loaded late.
  154. :app
  155. ;;calendar
  156. irc ; how neckbeards socialize
  157. (rss +org) ; emacs as an RSS reader
  158. ;;twitter ; twitter client https://twitter.com/vnought
  159. :config
  160. ;; For literate config users. This will tangle+compile a config.org
  161. ;; literate config in your `doom-private-dir' whenever it changes.
  162. ;;literate
  163. ;; The default module sets reasonable defaults for Emacs. It also
  164. ;; provides a Spacemacs-inspired keybinding scheme and a smartparens
  165. ;; config. Use it as a reference for your own modules.
  166. (default +bindings +smartparens))
  167. (custom-set-variables
  168. ;; custom-set-variables was added by Custom.
  169. ;; If you edit it by hand, you could mess it up, so be careful.
  170. ;; Your init file should contain only one such instance.
  171. ;; If there is more than one, they won't work right.
  172. '(ansi-color-names-vector
  173. ["#2b2a27" "#ff5d38" "#98be65" "#bcd42a" "#51afef" "#c678dd" "#46D9FF" "#ede0ce"])
  174. '(custom-safe-themes
  175. (quote
  176. ("2d1fe7c9007a5b76cea4395b0fc664d0c1cfd34bb4f1860300347cdad67fb2f9" "bd6ced8badda12f95e16e641d76d861de096c691720ede6388a226914e97cf23" "528d0ed2f87187406f4db88879555f03f1c9478018a49e2e35c84b666c97d44a" "a70b47c87e9b0940f6fece46656200acbfbc55e129f03178de8f50934ac89f58" "1f36ca86913068b7d8377a327394eecfff71be34119619f779cb229875ceec0c" "0eb3c0868ff890b0c4ee138069ce2a8936a8a69ba150efa6bfb9fb7c05af5ec3" "001c2ff8afde9c3e707a2eb3e810a0a36fb2b466e96377ac95968e7f8930a7c5" "2a3ffb7775b2fe3643b179f2046493891b0d1153e57ec74bbe69580b951699ca" "0fe9f7a04e7a00ad99ecacc875c8ccb4153204e29d3e57e9669691e6ed8340ce" "f951343d4bbe5a90dba0f058de8317ca58a6822faa65d8463b0e751a07ec887c" "423435c7b0e6c0942f16519fa9e17793da940184a50201a4d932eafe4c94c92d" "cdb3e7a8864cede434b168c9a060bf853eeb5b3f9f758310d2a2e23be41a24ae" "70cc30fd9d27a8d0d3ae82974ac2c409fd2cd5746470e2246778c6bec2d4857c" "5e96177f8bd6762e3f167fb7f5b6199fbff81704f654c66c772cd326d4fb78e3" "2878517f049b28342d7a360fd3f4b227086c4be8f8409f32e0f234d129cee925" "f30aded97e67a487d30f38a1ac48eddb49fdb06ac01ebeaff39439997cbdd869" default)))
  177. '(fci-rule-color "#5B6268")
  178. '(jdee-db-active-breakpoint-face-colors (cons "#2b2a27" "#ff5d38"))
  179. '(jdee-db-requested-breakpoint-face-colors (cons "#2b2a27" "#98be65"))
  180. '(jdee-db-spec-breakpoint-face-colors (cons "#2b2a27" "#3f444a"))
  181. '(objed-cursor-color "#ff5d38")
  182. '(safe-local-variable-values (quote ((url-max-redirections . 0))))
  183. '(vc-annotate-background "#2b2a27")
  184. '(vc-annotate-color-map
  185. (list
  186. (cons 20 "#98be65")
  187. (cons 40 "#a4c551")
  188. (cons 60 "#b0cc3d")
  189. (cons 80 "#bcd42a")
  190. (cons 100 "#c1a623")
  191. (cons 120 "#c5781c")
  192. (cons 140 "#cb4b16")
  193. (cons 160 "#c95a58")
  194. (cons 180 "#c7699a")
  195. (cons 200 "#c678dd")
  196. (cons 220 "#d96fa6")
  197. (cons 240 "#ec666f")
  198. (cons 260 "#ff5d38")
  199. (cons 280 "#cf563c")
  200. (cons 300 "#9f5041")
  201. (cons 320 "#6f4a45")
  202. (cons 340 "#5B6268")
  203. (cons 360 "#5B6268")))
  204. '(vc-annotate-very-old-color nil))
  205. (custom-set-faces
  206. ;; custom-set-faces was added by Custom.
  207. ;; If you edit it by hand, you could mess it up, so be careful.
  208. ;; Your init file should contain only one such instance.
  209. ;; If there is more than one, they won't work right.
  210. )