2018-04-05 14:34:48 +08:00
|
|
|
;;; init.el -*- lexical-binding: t; -*-
|
2019-04-21 04:20:59 +08:00
|
|
|
|
|
|
|
;; Copy this file to ~/.doom.d/init.el or ~/.config/doom/init.el ('doom
|
|
|
|
;; quickstart' 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.
|
|
|
|
;;
|
|
|
|
;; 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
|
2017-10-03 06:54:33 +08:00
|
|
|
hl-todo ; highlight TODO/FIXME/NOTE tags
|
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
|
|
|
|
;;tabbar ; FIXME an (incomplete) tab bar for Emacs
|
2019-04-20 23:43:46 +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
|
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
|
2018-11-14 07:15:32 +08:00
|
|
|
;;lispy ; vim for lisp, for people who dont like vim
|
2018-08-06 04:10:36 +08:00
|
|
|
multiple-cursors ; editing in many places at once
|
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
|
2017-01-18 08:22:18 +08:00
|
|
|
|
2018-05-27 18:05:15 +08:00
|
|
|
:emacs
|
2018-12-08 14:27:03 +08:00
|
|
|
(dired ; making dired pretty [functional]
|
|
|
|
;;+ranger ; bringing the goodness of ranger to dired
|
|
|
|
;;+icons ; colorful icons for dired-mode
|
|
|
|
)
|
2018-06-21 00:32:05 +08:00
|
|
|
electric ; smarter, keyword-based electric-indent
|
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)
|
|
|
|
;;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-04-22 07:59:44 +08:00
|
|
|
eval ; 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
|
2018-09-23 03:10:06 +08:00
|
|
|
;;password-store ; password manager for nerds
|
|
|
|
;;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
|
|
|
|
;;wakatime
|
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
|
|
|
;;erlang ; an elegant language for a more civilized age
|
|
|
|
;;elixir ; erlang done right
|
|
|
|
;;elm ; care for a cup of TEA?
|
2017-10-03 06:54:33 +08:00
|
|
|
emacs-lisp ; drown in parentheses
|
2018-09-23 03:10:06 +08:00
|
|
|
;;ess ; emacs speaks statistics
|
|
|
|
;;go ; the hipster dialect
|
|
|
|
;;(haskell +intero) ; a language that's lazier than I am
|
|
|
|
;;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
|
|
|
|
;;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
|
|
|
|
+attach ; custom attachment system
|
|
|
|
+babel ; running code in org
|
|
|
|
+capture ; org-capture in and outside of Emacs
|
2018-02-15 14:34:08 +08:00
|
|
|
+export ; Exporting org to whatever you want
|
2019-04-13 13:18:11 +08:00
|
|
|
+habit ; Keep track of your habits
|
2019-04-09 02:33:45 +08:00
|
|
|
+present ; Emacs for presentations
|
|
|
|
+protocol) ; Support for org-protocol:// links
|
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-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-05-05 07:18:19 +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
|
2018-10-16 11:22:34 +08:00
|
|
|
;;vala ; GObjective-C
|
2017-01-18 08:22:18 +08:00
|
|
|
|
2019-05-06 02:11:59 +08:00
|
|
|
:email
|
2019-05-06 02:23:13 +08:00
|
|
|
;;(mu4e +gmail) ; WIP
|
|
|
|
;;notmuch ; WIP
|
|
|
|
;;(wanderlust +gmail) ; WIP
|
2019-05-06 02:11:59 +08:00
|
|
|
|
2017-06-05 06:47:56 +08:00
|
|
|
;; Applications are complex and opinionated modules that transform Emacs
|
2017-07-14 21:23:12 +08:00
|
|
|
;; toward a specific purpose. They may have additional dependencies and
|
2017-12-19 05:14:18 +08:00
|
|
|
;; should be loaded late.
|
2017-02-08 14:55:39 +08:00
|
|
|
:app
|
2019-05-06 02:12:54 +08:00
|
|
|
;;calendar
|
2019-05-06 02:11:59 +08:00
|
|
|
;;irc ; how neckbeards socialize
|
|
|
|
;;rss +org ; emacs as an RSS reader
|
2018-09-23 03:10:06 +08:00
|
|
|
;;twitter ; twitter client https://twitter.com/vnought
|
|
|
|
;;(write ; emacs as a word processor (latex + org + markdown)
|
|
|
|
;; +wordnut ; wordnet (wn) search
|
|
|
|
;; +langtool) ; a proofreader (grammar/style check) for Emacs
|
2017-02-08 14:55:39 +08:00
|
|
|
|
2018-05-15 03:23:48 +08:00
|
|
|
:collab
|
2018-09-23 03:10:06 +08:00
|
|
|
;;floobits ; peer programming for a price
|
|
|
|
;;impatient-mode ; show off code over HTTP
|
2018-05-15 03:23:48 +08:00
|
|
|
|
2018-02-15 12:16:38 +08:00
|
|
|
:config
|
2018-06-05 21:38:58 +08:00
|
|
|
;; For literate config users. This will tangle+compile a config.org
|
|
|
|
;; literate config in your `doom-private-dir' whenever it changes.
|
2018-09-23 03:10:06 +08:00
|
|
|
;;literate
|
2018-06-05 21:38:58 +08:00
|
|
|
|
2018-08-31 08:50:47 +08:00
|
|
|
;; The default module sets reasonable defaults for Emacs. It also
|
2018-12-24 12:57:29 +08:00
|
|
|
;; provides a Spacemacs-inspired keybinding scheme and a smartparens
|
|
|
|
;; config. Use it as a reference for your own modules.
|
|
|
|
(default +bindings +smartparens))
|