2018-04-05 14:34:48 +08:00
|
|
|
;;; init.el -*- lexical-binding: t; -*-
|
2019-04-21 04:20:59 +08:00
|
|
|
|
2019-07-21 21:39:45 +08:00
|
|
|
;; Copy this file to ~/.doom.d/init.el or ~/.config/doom/init.el ('doom install'
|
|
|
|
;; will do this for you). The `doom!' block below controls what modules are
|
|
|
|
;; enabled and in what order they will be loaded. Remember to run 'doom refresh'
|
|
|
|
;; after modifying it.
|
2019-04-21 04:20:59 +08:00
|
|
|
;;
|
|
|
|
;; More information about these modules (and what flags they support) can be
|
|
|
|
;; found in modules/README.org.
|
2017-02-03 21:04:30 +08:00
|
|
|
|
2019-05-13 12:48:04 +08:00
|
|
|
(doom! :input
|
|
|
|
;;chinese
|
2019-05-13 13:00:34 +08:00
|
|
|
;;japanese
|
2019-05-13 12:48:04 +08:00
|
|
|
|
|
|
|
:completion
|
2018-11-10 02:35:59 +08:00
|
|
|
company ; the ultimate code completion backend
|
2019-04-22 16:56:25 +08:00
|
|
|
;;helm ; the *other* search engine for love and life
|
|
|
|
;;ido ; the other *other* search engine...
|
|
|
|
ivy ; a search engine for love and life
|
2017-02-08 14:55:39 +08:00
|
|
|
|
2017-02-03 21:04:30 +08:00
|
|
|
:ui
|
2018-09-23 03:10:06 +08:00
|
|
|
;;deft ; notational velocity for Emacs
|
2017-10-03 06:54:33 +08:00
|
|
|
doom ; what makes DOOM look the way it does
|
|
|
|
doom-dashboard ; a nifty splash screen for Emacs
|
|
|
|
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
2019-04-02 01:44:20 +08:00
|
|
|
;;fill-column ; a `fill-column' indicator
|
2019-07-23 06:30:45 +08:00
|
|
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
2019-07-23 04:49:27 +08:00
|
|
|
;;hydra
|
2019-03-12 06:31:16 +08:00
|
|
|
;;indent-guides ; highlighted indent columns
|
2019-03-02 04:12:27 +08:00
|
|
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
2017-10-03 06:54:33 +08:00
|
|
|
nav-flash ; blink the current line after jumping
|
2018-09-23 03:10:06 +08:00
|
|
|
;;neotree ; a project drawer, like NERDTree for vim
|
2019-04-20 05:26:26 +08:00
|
|
|
ophints ; highlight the region an operation acts on
|
2018-05-20 18:21:13 +08:00
|
|
|
(popup ; tame sudden yet inevitable temporary windows
|
|
|
|
+all ; catch all popups that start with an asterix
|
|
|
|
+defaults) ; default popup rules
|
2018-09-23 03:10:06 +08:00
|
|
|
;;pretty-code ; replace bits of code with pretty symbols
|
2019-08-11 02:14:51 +08:00
|
|
|
;;tabs ; an tab bar for Emacs
|
2019-07-22 08:33:34 +08:00
|
|
|
;;treemacs ; a project drawer, like neotree but cooler
|
2018-09-23 03:10:06 +08:00
|
|
|
;;unicode ; extended unicode support for various languages
|
2018-06-22 03:14:00 +08:00
|
|
|
vc-gutter ; vcs diff in the fringe
|
2017-10-03 06:54:33 +08:00
|
|
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
2018-01-05 11:02:10 +08:00
|
|
|
window-select ; visually switch windows
|
2019-04-22 07:59:44 +08:00
|
|
|
workspaces ; tab emulation, persistence & separate workspaces
|
2019-12-20 13:44:58 +08:00
|
|
|
;;zen ; distraction-free coding or writing
|
2018-06-15 01:49:03 +08:00
|
|
|
|
2018-06-13 03:36:09 +08:00
|
|
|
:editor
|
2019-04-22 07:59:44 +08:00
|
|
|
(evil +everywhere); come to the dark side, we have cookies
|
|
|
|
file-templates ; auto-snippets for empty files
|
2019-02-18 13:01:58 +08:00
|
|
|
fold ; (nigh) universal code folding
|
2018-09-23 03:10:06 +08:00
|
|
|
;;(format +onsave) ; automated prettiness
|
2019-10-28 05:23:56 +08:00
|
|
|
;;god ; run Emacs commands without modifier keys
|
2019-10-30 22:41:10 +08:00
|
|
|
;;lispy ; vim for lisp, for people who don't like vim
|
2018-08-06 04:10:36 +08:00
|
|
|
multiple-cursors ; editing in many places at once
|
2019-04-19 13:41:55 +08:00
|
|
|
;;objed ; text object editing for the innocent
|
2018-09-23 03:10:06 +08:00
|
|
|
;;parinfer ; turn lisp into python, sort of
|
2018-06-22 06:32:42 +08:00
|
|
|
rotate-text ; cycle region at point between text candidates
|
2019-04-22 07:59:44 +08:00
|
|
|
snippets ; my elves. They type so I don't have to
|
2019-08-25 22:53:18 +08:00
|
|
|
;;word-wrap ; soft wrapping with language-aware indent
|
2017-01-18 08:22:18 +08:00
|
|
|
|
2018-05-27 18:05:15 +08:00
|
|
|
:emacs
|
2019-07-22 08:33:34 +08:00
|
|
|
dired ; making dired pretty [functional]
|
2018-06-21 00:32:05 +08:00
|
|
|
electric ; smarter, keyword-based electric-indent
|
2019-10-21 00:07:54 +08:00
|
|
|
ibuffer ; interactive buffer management
|
2018-06-22 03:14:00 +08:00
|
|
|
vc ; version-control and Emacs, sitting in a tree
|
2018-05-27 18:05:15 +08:00
|
|
|
|
2019-05-19 11:41:18 +08:00
|
|
|
:term
|
|
|
|
;;eshell ; a consistent, cross-platform shell (WIP)
|
2019-07-13 18:34:49 +08:00
|
|
|
;;shell ; a terminal REPL for Emacs
|
2019-05-19 11:41:18 +08:00
|
|
|
;;term ; terminals in Emacs
|
|
|
|
;;vterm ; another terminals in Emacs
|
|
|
|
|
2018-05-27 18:05:15 +08:00
|
|
|
:tools
|
2018-09-23 03:10:06 +08:00
|
|
|
;;ansible
|
2019-04-22 07:59:44 +08:00
|
|
|
;;debugger ; FIXME stepping through code, to help you add bugs
|
2019-04-05 15:16:37 +08:00
|
|
|
;;direnv
|
2018-09-23 03:10:06 +08:00
|
|
|
;;docker
|
2018-12-23 09:18:14 +08:00
|
|
|
;;editorconfig ; let someone else argue about tabs vs spaces
|
2018-09-23 03:10:06 +08:00
|
|
|
;;ein ; tame Jupyter notebooks with emacs
|
2019-10-26 13:37:36 +08:00
|
|
|
(eval +overlay) ; run code, run (also, repls)
|
2019-02-22 13:20:29 +08:00
|
|
|
flycheck ; tasing you for every semicolon you forget
|
|
|
|
;;flyspell ; tasing you for misspelling mispelling
|
2018-09-23 03:10:06 +08:00
|
|
|
;;gist ; interacting with github gists
|
2019-04-22 07:59:44 +08:00
|
|
|
(lookup ; helps you navigate your code and documentation
|
|
|
|
+docsets) ; ...or in Dash docsets locally
|
2019-02-22 05:08:27 +08:00
|
|
|
;;lsp
|
2018-09-23 03:10:06 +08:00
|
|
|
;;macos ; MacOS-specific commands
|
2019-03-01 13:44:45 +08:00
|
|
|
magit ; a git porcelain for Emacs
|
2019-02-18 13:09:57 +08:00
|
|
|
;;make ; run make tasks from Emacs
|
2019-05-19 12:03:15 +08:00
|
|
|
;;pass ; password manager for nerds
|
2018-09-23 03:10:06 +08:00
|
|
|
;;pdf ; pdf enhancements
|
|
|
|
;;prodigy ; FIXME managing external services & code builders
|
|
|
|
;;rgb ; creating color strings
|
2018-10-17 02:02:02 +08:00
|
|
|
;;terraform ; infrastructure as code
|
2018-09-23 03:10:06 +08:00
|
|
|
;;tmux ; an API for interacting with tmux
|
|
|
|
;;upload ; map local to remote projects via ssh/ftp
|
2015-04-23 08:48:28 +08:00
|
|
|
|
2017-01-17 12:20:25 +08:00
|
|
|
:lang
|
2019-04-20 05:06:36 +08:00
|
|
|
;;agda ; types of types of types of types...
|
2018-09-23 03:10:06 +08:00
|
|
|
;;assembly ; assembly for fun or debugging
|
2019-04-24 02:03:16 +08:00
|
|
|
;;cc ; C/C++/Obj-C madness
|
2018-09-23 03:10:06 +08:00
|
|
|
;;clojure ; java with a lisp
|
|
|
|
;;common-lisp ; if you've seen one lisp, you've seen them all
|
|
|
|
;;coq ; proofs-as-programs
|
|
|
|
;;crystal ; ruby at the speed of c
|
|
|
|
;;csharp ; unity, .NET, and mono shenanigans
|
2017-10-03 06:54:33 +08:00
|
|
|
data ; config/data formats
|
2018-09-23 03:10:06 +08:00
|
|
|
;;elixir ; erlang done right
|
|
|
|
;;elm ; care for a cup of TEA?
|
2017-10-03 06:54:33 +08:00
|
|
|
emacs-lisp ; drown in parentheses
|
2019-10-28 05:23:56 +08:00
|
|
|
;;erlang ; an elegant language for a more civilized age
|
2018-09-23 03:10:06 +08:00
|
|
|
;;ess ; emacs speaks statistics
|
2019-10-14 07:23:54 +08:00
|
|
|
;;faust ; dsp, but you get to keep your soul
|
2019-04-21 10:33:13 +08:00
|
|
|
;;fsharp ; ML stands for Microsoft's Language
|
2018-09-23 03:10:06 +08:00
|
|
|
;;go ; the hipster dialect
|
2019-12-01 18:13:10 +08:00
|
|
|
;;(haskell +dante) ; a language that's lazier than I am
|
2018-09-23 03:10:06 +08:00
|
|
|
;;hy ; readability of scheme w/ speed of python
|
|
|
|
;;idris ;
|
|
|
|
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
|
|
|
|
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
|
|
|
;;julia ; a better, faster MATLAB
|
2019-03-29 09:27:39 +08:00
|
|
|
;;kotlin ; a better, slicker Java(Script)
|
2018-09-23 03:10:06 +08:00
|
|
|
;;latex ; writing papers in Emacs has never been so fun
|
2019-09-10 08:50:21 +08:00
|
|
|
;;lean
|
2019-12-03 11:01:16 +08:00
|
|
|
;;factor
|
2018-09-23 03:10:06 +08:00
|
|
|
;;ledger ; an accounting system in Emacs
|
|
|
|
;;lua ; one-based indices? one-based indices
|
2017-10-03 06:54:33 +08:00
|
|
|
markdown ; writing docs for people to ignore
|
2018-09-23 03:10:06 +08:00
|
|
|
;;nim ; python + lisp at the speed of c
|
|
|
|
;;nix ; I hereby declare "nix geht mehr!"
|
|
|
|
;;ocaml ; an objective camel
|
2017-12-09 11:59:42 +08:00
|
|
|
(org ; organize your plain life in plain text
|
2019-09-22 23:59:53 +08:00
|
|
|
+dragndrop ; drag & drop files/images into org buffers
|
2019-10-30 22:41:10 +08:00
|
|
|
;;+hugo ; use Emacs for hugo blogging
|
2019-12-17 08:23:08 +08:00
|
|
|
;;+jupyter ; ipython/jupyter support for babel
|
|
|
|
;;+pandoc ; export-with-pandoc support
|
2019-10-30 22:41:10 +08:00
|
|
|
;;+pomodoro ; be fruitful with the tomato technique
|
2019-09-22 23:59:53 +08:00
|
|
|
+present) ; using org-mode for presentations
|
2018-09-23 03:10:06 +08:00
|
|
|
;;perl ; write code no one else can comprehend
|
|
|
|
;;php ; perl's insecure younger brother
|
|
|
|
;;plantuml ; diagrams for confusing people more
|
|
|
|
;;purescript ; javascript, but functional
|
|
|
|
;;python ; beautiful is better than ugly
|
|
|
|
;;qt ; the 'cutest' gui framework ever
|
|
|
|
;;racket ; a DSL for DSLs
|
|
|
|
;;rest ; Emacs as a REST client
|
2019-11-12 02:38:48 +08:00
|
|
|
;;rst ; ReST in peace
|
2019-05-10 22:22:35 +08:00
|
|
|
;;ruby ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
2018-09-23 03:10:06 +08:00
|
|
|
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
|
|
|
;;scala ; java, but good
|
2019-07-24 00:04:26 +08:00
|
|
|
;;scheme ; a fully conniving family of lisps
|
2019-05-22 08:32:56 +08:00
|
|
|
sh ; she sells {ba,z,fi}sh shells on the C xor
|
2018-09-23 03:10:06 +08:00
|
|
|
;;solidity ; do you need a blockchain? No.
|
2018-10-17 01:53:32 +08:00
|
|
|
;;swift ; who asked for emoji variables?
|
2019-03-26 04:50:41 +08:00
|
|
|
;;terra ; Earth and Moon in alignment for performance.
|
2018-09-23 03:10:06 +08:00
|
|
|
;;web ; the tubes
|
2017-01-18 08:22:18 +08:00
|
|
|
|
2019-05-06 02:11:59 +08:00
|
|
|
:email
|
2019-11-18 05:46:28 +08:00
|
|
|
;;(mu4e +gmail)
|
|
|
|
;;notmuch
|
|
|
|
;;(wanderlust +gmail)
|
2019-05-06 02:11:59 +08:00
|
|
|
|
2017-02-08 14:55:39 +08:00
|
|
|
:app
|
2019-05-06 02:12:54 +08:00
|
|
|
;;calendar
|
2019-07-22 08:33:34 +08:00
|
|
|
;;irc ; how neckbeards socialize
|
2019-05-24 00:56:03 +08:00
|
|
|
;;(rss +org) ; emacs as an RSS reader
|
2018-09-23 03:10:06 +08:00
|
|
|
;;twitter ; twitter client https://twitter.com/vnought
|
2019-11-18 05:46:28 +08:00
|
|
|
;;write ; emacs for writers (fiction, notes, papers, etc.)
|
2017-02-08 14:55:39 +08:00
|
|
|
|
2018-02-15 12:16:38 +08:00
|
|
|
:config
|
2018-09-23 03:10:06 +08:00
|
|
|
;;literate
|
2018-12-24 12:57:29 +08:00
|
|
|
(default +bindings +smartparens))
|