neodotfiles/user/.config/doom/init.el

192 lines
9.3 KiB
EmacsLisp
Raw Normal View History

2022-01-11 03:24:51 +00:00
;;; 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 a "Module Index" link where you'll find
;; a comprehensive list 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 c 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 c d') on a module to browse its
;; directory (for easy access to its source code).
(doom! :input
;;chinese
;;japanese
;;layout ; auie,ctsrnm is the superior home row
:completion
2022-01-26 20:40:22 +00:00
company ; the ultimate code completion backend
2022-01-11 03:24:51 +00:00
;;helm ; the *other* search engine for love and life
;;ido ; the other *other* search engine...
2022-01-26 20:40:22 +00:00
(ivy +fonts +childframe) ; a search engine for love and life
2022-01-11 03:24:51 +00:00
:ui
;;deft ; notational velocity for Emacs
2022-01-26 20:40:22 +00:00
doom ; what makes DOOM look the way it does
2022-01-11 03:24:51 +00:00
;;doom-dashboard ; a nifty splash screen for Emacs
2022-01-26 20:40:22 +00:00
doom-quit ; DOOM quit-message prompts when you quit Emacs
(emoji +unicode) ; 🙂
2022-01-11 03:24:51 +00:00
;;fill-column ; a `fill-column' indicator
2022-01-26 20:40:22 +00:00
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
2022-01-11 03:24:51 +00:00
;;hydra
;;indent-guides ; highlighted indent columns
2022-01-26 20:40:22 +00:00
(ligatures +extras) ; ligatures and symbols to make your code pretty again
2022-01-11 03:24:51 +00:00
;;minimap ; show a map of the code on the side
2022-01-26 20:40:22 +00:00
modeline ; snazzy, Atom-inspired modeline, plus API
2022-01-11 03:24:51 +00:00
;;nav-flash ; blink cursor line after big motions
2022-01-26 20:40:22 +00:00
neotree ; a project drawer, like NERDTree for vim
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
2023-05-27 04:53:44 +00:00
;;tabs ; a tab bar for Emacs
2022-07-05 20:57:42 +00:00
;;treemacs ; a project drawer, like neotree but cooler
2022-12-17 01:48:07 +00:00
;;unicode ; extended unicode support for various languages
2022-01-26 20:40:22 +00:00
vc-gutter ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB
window-select ; visually switch windows
workspaces ; tab emulation, persistence & separate workspaces
zen ; distraction-free coding or writing
2022-01-11 03:24:51 +00:00
:editor
2022-01-26 20:40:22 +00:00
(evil +everywhere) ; come to the dark side, we have cookies
file-templates ; auto-snippets for empty files
fold ; (nigh) universal code folding
2022-01-11 03:24:51 +00:00
;;(format +onsave) ; automated prettiness
;;god ; run Emacs commands without modifier keys
2022-01-26 20:40:22 +00:00
lispy ; vim for lisp, for people who don't like vim
2022-01-11 03:24:51 +00:00
;;multiple-cursors ; editing in many places at once
;;objed ; text object editing for the innocent
;;parinfer ; turn lisp into python, sort of
;;rotate-text ; cycle region at point between text candidates
2022-01-26 20:40:22 +00:00
snippets ; my elves. They type so I don't have to
2022-01-11 03:24:51 +00:00
;;word-wrap ; soft wrapping with language-aware indent
:emacs
2022-01-26 20:40:22 +00:00
(dired +icons) ; making dired pretty [functional]
2022-01-11 03:24:51 +00:00
electric ; smarter, keyword-based electric-indent
2022-01-26 20:40:22 +00:00
(ibuffer +icons) ; interactive buffer management
2022-01-11 03:24:51 +00:00
undo ; persistent, smarter undo for your inevitable mistakes
vc ; version-control and Emacs, sitting in a tree
:term
2022-01-26 20:40:22 +00:00
eshell ; the elisp shell that works everywhere
shell ; simple shell REPL for Emacs
2023-05-27 04:53:44 +00:00
;;term ; basic terminal emulator for Emacs
2022-01-26 20:40:22 +00:00
vterm ; the best terminal emulation in Emacs
2022-01-11 03:24:51 +00:00
:checkers
2022-01-26 20:40:22 +00:00
syntax ; tasing you for every semicolon you forget
2022-02-08 18:19:36 +00:00
;;(spell +aspell) ; tasing you for misspelling mispelling
2022-01-11 03:24:51 +00:00
;;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
;;ein ; tame Jupyter notebooks with emacs
2022-01-26 20:40:22 +00:00
(eval +overlay) ; run code, run (also, repls)
2022-01-11 03:24:51 +00:00
;;gist ; interacting with github gists
2022-01-26 20:40:22 +00:00
lookup ; navigate your code and its documentation
2022-01-11 03:24:51 +00:00
lsp
2022-01-26 20:40:22 +00:00
magit ; a git porcelain for Emacs
2022-01-11 03:24:51 +00:00
;;make ; run make tasks from Emacs
;;pass ; password manager for nerds
2022-01-26 20:40:22 +00:00
pdf ; pdf enhancements
2022-01-11 03:24:51 +00:00
;;prodigy ; FIXME managing external services & code builders
;;rgb ; creating color strings
;;taskrunner ; taskrunner for all your projects
;;terraform ; infrastructure as code
;;tmux ; an API for interacting with tmux
;;upload ; map local to remote projects via ssh/ftp
:os
2022-01-26 20:40:22 +00:00
(:if IS-MAC macos) ; improve compatibility with macOS
2022-01-11 03:24:51 +00:00
;;tty ; improve the terminal Emacs experience
:lang
;;agda ; types of types of types of types...
2022-01-26 20:40:22 +00:00
cc ; C/C++/Obj-C madness
2022-01-11 03:24:51 +00:00
;;clojure ; java with a lisp
2022-01-26 20:40:22 +00:00
common-lisp ; if you've seen one lisp, you've seen them all
2022-01-11 03:24:51 +00:00
;;coq ; proofs-as-programs
;;crystal ; ruby at the speed of c
2022-12-17 01:48:07 +00:00
csharp ; unity, .NET, and mono shenanigans
2022-01-11 03:24:51 +00:00
;;data ; config/data formats
;;(dart +flutter) ; paint ui and not much else
;;elixir ; erlang done right
;;elm ; care for a cup of TEA?
2022-01-26 20:40:22 +00:00
emacs-lisp ; drown in parentheses
2022-01-11 03:24:51 +00:00
;;erlang ; an elegant language for a more civilized age
;;ess ; emacs speaks statistics
;;faust ; dsp, but you get to keep your soul
;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for
2023-05-27 04:53:44 +00:00
;;(go +lsp) ; the hipster dialect
;;(haskell +dante) ; a language that's lazier than I am
2022-01-11 03:24:51 +00:00
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on
2022-01-26 20:40:22 +00:00
json ; At least it ain't XML
2023-05-27 04:53:44 +00:00
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
2022-01-11 03:24:51 +00:00
javascript ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
2022-01-26 20:40:22 +00:00
latex ; writing papers in Emacs has never been so fun
2022-01-11 03:24:51 +00:00
;;lean
;;factor
;;ledger ; an accounting system in Emacs
2022-01-26 20:40:22 +00:00
lua ; one-based indices? one-based indices
2022-01-11 03:24:51 +00:00
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
2022-01-26 20:40:22 +00:00
+journal ; enable org journal
+pretty ; replace asterisks with pretty org bullets
+publish ; create static websites with org
+roam2) ; org roam v2
php ; perl's insecure younger brother
2022-01-11 03:24:51 +00:00
;;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
;;raku ; the artist formerly known as perl6
;;rest ; Emacs as a REST client
;;rst ; ReST in peace
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
2023-05-27 04:53:44 +00:00
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
2022-07-05 20:57:42 +00:00
;;scala ; java, but good
2022-01-26 20:40:22 +00:00
scheme ; a fully conniving family of lisps
sh ; she sells {ba,z,fi}sh shells on the C xor
2022-01-11 03:24:51 +00:00
;;sml
;;solidity ; do you need a blockchain? No.
2022-07-05 20:57:42 +00:00
;;swift ; who asked for emoji variables?
2022-01-11 03:24:51 +00:00
;;terra ; Earth and Moon in alignment for performance.
2022-01-26 20:40:22 +00:00
web ; the tubes
yaml ; JSON, but readable
2022-01-11 03:24:51 +00:00
:email
;;mu4e
;;smtpmail
;;notmuch
;;(wanderlust +gmail)
:app
;;calendar
2023-05-27 04:53:44 +00:00
;; emms
2022-01-11 03:24:51 +00:00
;;everywhere ; *leave* Emacs!? You must be joking
;;irc ; how neckbeards socialize
2023-05-27 04:53:44 +00:00
;;rss ; emacs as an RSS reader
2022-01-11 03:24:51 +00:00
;;twitter ; twitter client https://twitter.com/vnought
:config
literate
(default +bindings +smartparens))