135 lines
5.5 KiB
EmacsLisp
135 lines
5.5 KiB
EmacsLisp
;;; init.el -*- lexical-binding: t; -*-
|
|
|
|
;; This file controls what Doom modules are enabled and what order they load
|
|
;; in. Remember to run 'doom sync' after modifying it!
|
|
|
|
;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
|
|
;; documentation. There you'll find information about all of Doom's
|
|
;; modules and what flags they support.
|
|
|
|
;; NOTE Move your cursor over a module's name (or its flags) and press 'K' (or
|
|
;; 'C-c g k' for non-vim users) to view its documentation. This works on
|
|
;; flags as well (those symbols that start with a plus).
|
|
;;
|
|
;; Alternatively, press 'gd' (or 'C-c g d') on a module to browse its
|
|
;; directory (for easy access to its source code).
|
|
|
|
(doom! :input
|
|
;;chinese
|
|
;;japanese
|
|
|
|
:completion
|
|
company ; the ultimate code completion backend
|
|
(vertico +icons)
|
|
|
|
:ui
|
|
doom ; what makes DOOM look the way it does
|
|
doom-dashboard ; a nifty splash screen for Emacs
|
|
(emoji +unicode) ;
|
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
|
ligatures ;
|
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
|
;;nav-flash ; blink cursor line after big motions
|
|
ophints ; highlight the region an operation acts on
|
|
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
|
unicode ; extended unicode support for various languages
|
|
vc-gutter ; vcs diff in the fringe
|
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
|
workspaces ; tab emulation, persistence & separate workspaces
|
|
|
|
:editor
|
|
(evil +everywhere); come to the dark side, we have cookies
|
|
file-templates ; auto-snippets for empty files
|
|
fold ; (nigh) universal code folding
|
|
(format +onsave) ; automated prettiness
|
|
multiple-cursors ; editing in many places at once
|
|
snippets ; my elves. They type so I don't have to
|
|
|
|
:emacs
|
|
(dired +icons) ; making dired pretty [functional]
|
|
electric ; smarter, keyword-based electric-indent
|
|
undo ;+tree) ; persistent, smarter undo for your inevitable mistakes
|
|
vc ; version-control and Emacs, sitting in a tree
|
|
|
|
:term
|
|
eshell ; the elisp shell that works everywhere
|
|
vterm ; the best terminal emulation in Emacs
|
|
|
|
:checkers
|
|
syntax ; tasing you for every semicolon you forget
|
|
(spell +flyspell) ; tasing you for misspelling mispelling
|
|
grammar ; tasing grammar mistake every you make
|
|
|
|
:tools
|
|
;;ansible
|
|
;;debugger ; FIXME stepping through code, to help you add bugs
|
|
direnv
|
|
docker
|
|
editorconfig ; let someone else argue about tabs vs spaces
|
|
(eval +overlay) ; run code, run (also, repls)
|
|
;;gist ; interacting with github gists
|
|
lookup
|
|
lsp
|
|
(magit +forge) ; a git porcelain for Emacs
|
|
make ; run make tasks from Emacs
|
|
;;(pass +auth) ; password manager for nerds
|
|
pdf ; pdf enhancements
|
|
|
|
:os
|
|
(:if IS-MAC macos) ; improve compatibility with macOS
|
|
;;tty ; improve the terminal Emacs experience
|
|
|
|
:lang
|
|
;;crystal ; ruby at the speed of c
|
|
data ; config/data formats
|
|
;;(dart +flutter) ; paint ui and not much else
|
|
;;(elixir +lsp) ; erlang done right
|
|
emacs-lisp ; drown in parentheses
|
|
(go +lsp) ; the hipster dialect
|
|
json ; At least it ain't XML
|
|
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
|
|
ledger ; an accounting system in Emacs
|
|
lua ; one-based indices? one-based indices
|
|
markdown ; writing docs for people to ignore
|
|
;;nim ; python + lisp at the speed of c
|
|
;;nix ; I hereby declare "nix geht mehr!"
|
|
;;ocaml ; an objective camel
|
|
(org ; organize your plain life in plain text
|
|
+hugo
|
|
+dragndrop
|
|
+gnuplot
|
|
+ipython ; ipython support for babel
|
|
+journal
|
|
+pretty
|
|
+roam2
|
|
+pandoc ; pandoc integration into org's exporter
|
|
+pomodoro
|
|
+present) ; using Emacs for presentations
|
|
;;perl ; write code no one else can comprehend
|
|
;;php ; perl's insecure younger brother
|
|
;;plantuml ; diagrams for confusing people more
|
|
;;purescript ; javascript, but functional
|
|
(graphql +lsp)
|
|
(python +lsp +pyright) ; beautiful is better than ugly
|
|
;;qt ; the 'cutest' gui framework ever
|
|
;;racket ; a DSL for DSLs
|
|
rest ; Emacs as a REST client
|
|
rst ; ReST in peace
|
|
;;(ruby +rails +lsp) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
|
;;(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
|
sh ; she sells {ba,z,fi}sh shells on the C xor
|
|
(web +lsp) ; the tubes
|
|
yaml ; JSON, but readable
|
|
;;(zig +lsp)
|
|
|
|
:email
|
|
notmuch
|
|
|
|
:app
|
|
irc ; how neckbeards socialize
|
|
rss ; emacs as an RSS reader
|
|
|
|
:config
|
|
literate
|
|
(default +bindings +smartparens))
|