init.el 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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. :term
  57. eshell ; a consistent, cross-platform shell (WIP)
  58. ;;shell ; a terminal REPL for Emacs
  59. term ; terminals in Emacs
  60. ;;vterm ; another terminals in Emacs
  61. :tools
  62. ansible
  63. debugger ; FIXME stepping through code, to help you add bugs
  64. direnv
  65. docker
  66. editorconfig ; let someone else argue about tabs vs spaces
  67. ;;ein ; tame Jupyter notebooks with emacs
  68. (eval +overlay) ; run code, run (also, repls)
  69. flycheck ; tasing you for every semicolon you forget
  70. flyspell ; tasing you for misspelling mispelling
  71. gist ; interacting with github gists
  72. (lookup ; helps you navigate your code and documentation
  73. +docsets) ; ...or in Dash docsets locally
  74. ;;lsp
  75. ;;macos ; MacOS-specific commands
  76. magit ; a git porcelain for Emacs
  77. make ; run make tasks from Emacs
  78. pass ; password manager for nerds
  79. pdf ; pdf enhancements
  80. ;;prodigy ; FIXME managing external services & code builders
  81. ;;rgb ; creating color strings
  82. terraform ; infrastructure as code
  83. ;;tmux ; an API for interacting with tmux
  84. ;;upload ; map local to remote projects via ssh/ftp
  85. ;;wakatime
  86. :lang
  87. ;;agda ; types of types of types of types...
  88. ;;assembly ; assembly for fun or debugging
  89. ;;cc ; C/C++/Obj-C madness
  90. ;;clojure ; java with a lisp
  91. ;;common-lisp ; if you've seen one lisp, you've seen them all
  92. ;;coq ; proofs-as-programs
  93. crystal ; ruby at the speed of c
  94. ;;csharp ; unity, .NET, and mono shenanigans
  95. data ; config/data formats
  96. ;;erlang ; an elegant language for a more civilized age
  97. elixir ; erlang done right
  98. elm ; care for a cup of TEA?
  99. emacs-lisp ; drown in parentheses
  100. ;;ess ; emacs speaks statistics
  101. ;;fsharp ; ML stands for Microsoft's Language
  102. go ; the hipster dialect
  103. ;;(haskell +intero) ; a language that's lazier than I am
  104. ;;hy ; readability of scheme w/ speed of python
  105. ;;idris ;
  106. ;;(java +meghanada) ; the poster child for carpal tunnel syndrome
  107. javascript ; all(hope(abandon(ye(who(enter(here))))))
  108. julia ; a better, faster MATLAB
  109. ;;kotlin ; a better, slicker Java(Script)
  110. ;;latex ; writing papers in Emacs has never been so fun
  111. ;;ledger ; an accounting system in Emacs
  112. ;;lua ; one-based indices? one-based indices
  113. markdown ; writing docs for people to ignore
  114. nim ; python + lisp at the speed of c
  115. ;;nix ; I hereby declare "nix geht mehr!"
  116. ;;ocaml ; an objective camel
  117. (org ; organize your plain life in plain text
  118. +dragndrop ; file drag & drop support
  119. +hugo
  120. +gnuplot
  121. +ipython ; ipython support for babel
  122. +journal
  123. +pandoc ; pandoc integration into org's exporter
  124. +pomodoro
  125. +present) ; using Emacs for presentations
  126. ;;perl ; write code no one else can comprehend
  127. ;;php ; perl's insecure younger brother
  128. plantuml ; diagrams for confusing people more
  129. ;;purescript ; javascript, but functional
  130. python ; beautiful is better than ugly
  131. ;;qt ; the 'cutest' gui framework ever
  132. racket ; a DSL for DSLs
  133. rest ; Emacs as a REST client
  134. ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
  135. rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
  136. ;;scala ; java, but good
  137. scheme ; a fully conniving family of lisps
  138. (sh +fish) ; she sells (ba|z|fi)sh shells on the C xor
  139. ;;solidity ; do you need a blockchain? No.
  140. ;;swift ; who asked for emoji variables?
  141. ;;terra ; Earth and Moon in alignment for performance.
  142. web ; the tubes
  143. ;;vala ; GObjective-C
  144. :email
  145. ;;(mu4e +gmail) ; WIP
  146. notmuch ; WIP
  147. ;;(wanderlust +gmail) ; WIP
  148. ;; Applications are complex and opinionated modules that transform Emacs
  149. ;; toward a specific purpose. They may have additional dependencies and
  150. ;; should be loaded late.
  151. :app
  152. ;;calendar
  153. ;;irc ; how neckbeards socialize
  154. (rss +org) ; emacs as an RSS reader
  155. ;;twitter ; twitter client https://twitter.com/vnought
  156. (write ; emacs for writers (fiction, notes, papers, etc.)
  157. +wordnut ; wordnet (wn) search
  158. +langtool) ; a proofreader (grammar/style check) for Emacs
  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. ["#242424" "#e5786d" "#95e454" "#cae682" "#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"])
  174. '(custom-safe-themes
  175. (quote
  176. ("43c808b039893c885bdeec885b4f7572141bd9392da7f0bd8d8346e02b2ec8da" "3b3573ac73e802a00c9ea11c08f720c2d4dd2a2205a2f33075a828cc23c78c12" "f5568ed375abea716d1bdfae0316d1d179f69972eaccd1f331b3e9863d7e174a" default)))
  177. '(doom-big-font-mode nil)
  178. '(fci-rule-color "#BA45A3")
  179. '(jdee-db-active-breakpoint-face-colors (cons "#131033" "#1ea8fc"))
  180. '(jdee-db-requested-breakpoint-face-colors (cons "#131033" "#a7da1e"))
  181. '(jdee-db-spec-breakpoint-face-colors (cons "#131033" "#546A90"))
  182. '(objed-cursor-color "#e61f44")
  183. '(vc-annotate-background "#0c0a20")
  184. '(vc-annotate-color-map
  185. (list
  186. (cons 20 "#a7da1e")
  187. (cons 40 "#c4d814")
  188. (cons 60 "#e1d60a")
  189. (cons 80 "#ffd400")
  190. (cons 100 "#efa314")
  191. (cons 120 "#df7329")
  192. (cons 140 "#cf433e")
  193. (cons 160 "#df3a7d")
  194. (cons 180 "#ef32bc")
  195. (cons 200 "#ff2afc")
  196. (cons 220 "#f626be")
  197. (cons 240 "#ee2281")
  198. (cons 260 "#e61f44")
  199. (cons 280 "#c13157")
  200. (cons 300 "#9d4469")
  201. (cons 320 "#78577d")
  202. (cons 340 "#BA45A3")
  203. (cons 360 "#BA45A3")))
  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. )