init.el 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. ;;; init.el -*- lexical-binding: t; -*-
  2. ;; Copy me to ~/.doom.d/init.el or ~/.config/doom/init.el, then edit me!
  3. (advice-add #'doom--refresh-pkg-contents :override #'package-refresh-contents)
  4. (doom! :completion
  5. company ; the ultimate code completion backend
  6. ;(helm +fuzzy)
  7. ;;ido ; the other *other* search engine...
  8. (ivy +fuzzy) ; a search engine for love and life
  9. :ui
  10. ;;deft ; notational velocity for Emacs
  11. doom ; what makes DOOM look the way it does
  12. doom-dashboard ; a nifty splash screen for Emacs
  13. doom-quit ; DOOM quit-message prompts when you quit Emacs
  14. fill-column ; a `fill-column' indicator
  15. hl-todo ; highlight TODO/FIXME/NOTE tags
  16. modeline ; snazzy, Atom-inspired modeline, plus API
  17. nav-flash ; blink the current line after jumping
  18. ;;neotree ; a project drawer, like NERDTree for vim
  19. ophints ; display visual hints when editing in evil
  20. (popup +all +defaults)
  21. ;;pretty-code ; replace bits of code with pretty symbols
  22. ;;tabbar ; FIXME an (incomplete) tab bar for Emacs
  23. treemacs ; a project drawer, like neotree but cooler
  24. unicode ; extended unicode support for various languages
  25. vc-gutter ; vcs diff in the fringe
  26. vi-tilde-fringe ; fringe tildes to mark beyond EOB
  27. window-select ; visually switch windows
  28. workspaces ; tab emulation, persistence & separate workspaces
  29. :editor
  30. (evil +everywhere); come to the dark side, we have cookies
  31. file-templates ; auto-snippets for empty files
  32. ;;fold
  33. (format +onsave) ; automated prettiness
  34. ;;lispy ; vim for lisp, for people who dont like vim
  35. multiple-cursors ; editing in many places at once
  36. ;;parinfer ; turn lisp into python, sort of
  37. rotate-text ; cycle region at point between text candidates
  38. snippets ; my elves. They type so I don't have to
  39. :emacs
  40. (dired +ranger +icons)
  41. electric ; smarter, keyword-based electric-indent
  42. vc ; version-control and Emacs, sitting in a tree
  43. :term
  44. eshell ; a consistent, cross-platform shell (WIP)
  45. term ; terminals in Emacs
  46. ;vterm ; another terminals in Emacs
  47. :tools
  48. ansible
  49. docker
  50. editorconfig ; let someone else argue about tabs vs spaces
  51. eval ; run code, run (also, repls)
  52. ;;ein ; tame Jupyter notebooks with emacs
  53. flycheck ; tasing you for every semicolon you forget
  54. flyspell ; tasing you for misspelling mispelling
  55. gist ; interacting with github gists
  56. (lookup +docsets)
  57. lsp
  58. ;;macos ; MacOS-specific commands
  59. make ; run make tasks from Emacs
  60. (magit +forge) ; a git porcelain for Emacs
  61. pass ; password manager for nerds
  62. pdf ; pdf enhancements
  63. ;;prodigy ; FIXME managing external services & code builders
  64. ;;rgb ; creating color strings
  65. terraform ; infrastructure as code
  66. ;;tmux ; an API for interacting with tmux
  67. ;;upload ; map local to remote projects via ssh/ftp
  68. ;;wakatime
  69. :lang
  70. ;;assembly ; assembly for fun or debugging
  71. ;;(cc +irony +rtags); C/C++/Obj-C madness
  72. ;;clojure ; java with a lisp
  73. ;;common-lisp ; if you've seen one lisp, you've seen them all
  74. ;;coq ; proofs-as-programs
  75. ;;crystal ; ruby at the speed of c
  76. ;;csharp ; unity, .NET, and mono shenanigans
  77. data ; config/data formats
  78. ;;erlang ; an elegant language for a more civilized age
  79. elixir ; erlang done right
  80. elm ; care for a cup of TEA?
  81. emacs-lisp ; drown in parentheses
  82. ;;ess ; emacs speaks statistics
  83. (go +lsp) ; the hipster dialect
  84. ;;(haskell +intero) ; a language that's lazier than I am
  85. ;;hy ; readability of scheme w/ speed of python
  86. ;;idris ;
  87. ;;(java +meghanada) ; the poster child for carpal tunnel syndrome
  88. (javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
  89. julia ; a better, faster MATLAB
  90. latex ; writing papers in Emacs has never been so fun
  91. ;;ledger ; an accounting system in Emacs
  92. ;;lua ; one-based indices? one-based indices
  93. markdown ; writing docs for people to ignore
  94. ;;nim ; python + lisp at the speed of c
  95. ;;nix ; I hereby declare "nix geht mehr!"
  96. ;;ocaml ; an objective camel
  97. (org +attach +babel +capture +export +present +habit +protocol)
  98. ;;perl ; write code no one else can comprehend
  99. ;;php ; perl's insecure younger brother
  100. ;;plantuml ; diagrams for confusing people more
  101. ;;purescript ; javascript, but functional
  102. (python +lsp) ; beautiful is better than ugly
  103. ;;qt ; the 'cutest' gui framework ever
  104. racket ; a DSL for DSLs
  105. rest ; Emacs as a REST client
  106. (ruby +lsp) ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
  107. (rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
  108. ;;scala ; java, but good
  109. (sh +fish) ; she sells (ba|z|fi)sh shells on the C xor
  110. ;;solidity ; do you need a blockchain? No.
  111. ;;swift ; who asked for emoji variables?
  112. web ; the tubes
  113. ;;vala ; GObjective-C
  114. :email
  115. ;;(mu4e +gmail) ; WIP
  116. notmuch ; WIP
  117. ;;(wanderlust +gmail) ; WIP
  118. ;; Applications are complex and opinionated modules that transform Emacs
  119. ;; toward a specific purpose. They may have additional dependencies and
  120. ;; should be loaded late.
  121. :app
  122. calendar
  123. irc ; how neckbeards socialize
  124. (rss +org) ; emacs as an RSS reader
  125. ;;twitter ; twitter client https://twitter.com/vnought
  126. ;(write ; emacs as a word processor (latex + org + markdown)
  127. ;; +wordnut ; wordnet (wn) search
  128. ;; +langtool) ; a proofreader (grammar/style check) for Emacs
  129. :collab
  130. ;;floobits ; peer programming for a price
  131. ;;impatient-mode ; show off code over HTTP
  132. :config
  133. ;; For literate config users. This will tangle+compile a config.org
  134. ;; literate config in your `doom-private-dir' whenever it changes.
  135. ;;literate
  136. ;; The default module sets reasonable defaults for Emacs. It also
  137. ;; provides a Spacemacs-inspired keybinding scheme and a smartparens
  138. ;; config. Use it as a reference for your own modules.
  139. (default +bindings +smartparens))
  140. (setq evil-want-C-i-jump nil)
  141. (custom-set-variables
  142. ;; custom-set-variables was added by Custom.
  143. ;; If you edit it by hand, you could mess it up, so be careful.
  144. ;; Your init file should contain only one such instance.
  145. ;; If there is more than one, they won't work right.
  146. '(ansi-color-names-vector
  147. ["#21242b" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"])
  148. '(custom-safe-themes
  149. (quote
  150. ("bee55ba5e878d0584db9b2fb33f75c348a3008fcfe8e05ab8cae897ca604fd95" "34dc2267328600f3065630e161a8ae59939700684c232073cdd5afbf78456670" "fa477d10f10aa808a2d8165a4f7e6cee1ab7f902b6853fbee911a9e27cf346bc" "a9d67f7c030b3fa6e58e4580438759942185951e9438dd45f2c668c8d7ab2caf" "030346c2470ddfdaca479610c56a9c2aa3e93d5de3a9696f335fd46417d8d3e4" "0f1733ad53138ddd381267b4033bcb07f5e75cd7f22089c7e650f1bb28fc67f4" "51043b04c31d7a62ae10466da95a37725638310a38c471cc2e9772891146ee52" "ef07cb337554ffebfccff8052827c4a9d55dc2d0bc7f08804470451385d41c5c" "7d4340a89c1f576d1b5dec57635ab93cdc006524bda486b66d01a6f70cffb08e" "ff829b1ac22bbb7cee5274391bc5c9b3ddb478e0ca0b94d97e23e8ae1a3f0c3e" "886fe9a7e4f5194f1c9b1438955a9776ff849f9e2f2bbb4fa7ed8879cdca0631" "11e0bc5e71825b88527e973b80a84483a2cfa1568592230a32aedac2a32426c1" "84da7b37214b4ac095a55518502dfa82633bee74f64daf6e1785322e77516f96" "8ffdc8c66ceeaf7921f4510a70d808f01b303e6b4d177c947b442e80d4228678" default)))
  151. '(doom-big-font-mode t)
  152. '(fci-rule-color "#5B6268")
  153. '(jdee-db-active-breakpoint-face-colors (cons "#1B2229" "#51afef"))
  154. '(jdee-db-requested-breakpoint-face-colors (cons "#1B2229" "#98be65"))
  155. '(jdee-db-spec-breakpoint-face-colors (cons "#1B2229" "#3f444a"))
  156. '(objed-cursor-color "#ff6c6b")
  157. '(vc-annotate-background "#282c34")
  158. '(vc-annotate-color-map
  159. (list
  160. (cons 20 "#98be65")
  161. (cons 40 "#b4be6c")
  162. (cons 60 "#d0be73")
  163. (cons 80 "#ECBE7B")
  164. (cons 100 "#e6ab6a")
  165. (cons 120 "#e09859")
  166. (cons 140 "#da8548")
  167. (cons 160 "#d38079")
  168. (cons 180 "#cc7cab")
  169. (cons 200 "#c678dd")
  170. (cons 220 "#d974b7")
  171. (cons 240 "#ec7091")
  172. (cons 260 "#ff6c6b")
  173. (cons 280 "#cf6162")
  174. (cons 300 "#9f585a")
  175. (cons 320 "#6f4e52")
  176. (cons 340 "#5B6268")
  177. (cons 360 "#5B6268")))
  178. '(vc-annotate-very-old-color nil))
  179. (custom-set-faces
  180. ;; custom-set-faces was added by Custom.
  181. ;; If you edit it by hand, you could mess it up, so be careful.
  182. ;; Your init file should contain only one such instance.
  183. ;; If there is more than one, they won't work right.
  184. )