dot-doom/init.el

170 lines
8.3 KiB
EmacsLisp
Raw Normal View History

2023-03-05 12:03:36 -05: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 link to Doom's Module Index where all
;; of our modules are listed, including 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).
2024-07-02 11:03:04 -04:00
(doom! :completion
(vertico +orderless +icons) ; the search engine of the future
(corfu +orderless +icons +dabbrev)
2023-03-05 12:03:36 -05:00
:ui
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
2023-10-19 11:23:45 -04:00
(emoji +unicode) ; 🙂
2023-03-05 12:03:36 -05:00
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;; indent-guides ; highlighted indent columns
(ligatures +extra) ; ligatures and symbols to make your code pretty again
2023-10-19 11:23:45 -04:00
minimap ; show a map of the code on the side
2023-03-05 12:03:36 -05:00
modeline ; snazzy, Atom-inspired modeline, plus API
nav-flash ; blink cursor line after big motions
ophints ; highlight the region an operation acts on
(popup +all +defaults) ; tame sudden yet inevitable temporary windows
tabs ; a tab bar for Emacs
(treemacs +icons) ; a project drawer, like neotree but cooler
2023-10-19 11:23:45 -04:00
unicode ; extended unicode support for various languages
2023-03-05 12:03:36 -05:00
(vc-gutter +pretty) ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB
2024-06-24 17:26:31 -04:00
window-select ; visually switch windows
2023-03-05 12:03:36 -05:00
workspaces ; tab emulation, persistence & separate workspaces
;;zen ; distraction-free coding or writing
:editor
file-templates ; auto-snippets for empty files
fold ; (nigh) universal code folding
2024-09-21 22:19:17 -04:00
format ; automated prettiness
2023-03-05 12:03:36 -05:00
;;god ; run Emacs commands without modifier keys
2023-04-12 19:13:00 -04:00
;; lispy ; vim for lisp, for people who don't like vim
2023-03-05 12:03:36 -05:00
;; multiple-cursors ; editing in many places at once
;; objed ; text object editing for the innocent
2023-06-02 12:04:53 -04:00
parinfer ; turn lisp into python, sort of
2024-11-05 15:02:08 -05:00
;; rotate-text ; cycle region at point between text candidates
2023-03-05 12:03:36 -05:00
snippets ; my elves. They type so I don't have to
word-wrap ; soft wrapping with language-aware indent
:emacs
2023-08-31 13:46:13 -04:00
(dired) ; making dired pretty [functional]
2023-03-05 12:03:36 -05:00
electric ; smarter, keyword-based electric-indent
2023-08-31 13:46:13 -04:00
(ibuffer) ; interactive buffer management
2023-03-05 12:03:36 -05:00
undo ; persistent, smarter undo for your inevitable mistakes
vc ; version-control and Emacs, sitting in a tree
:term
vterm ; the best terminal emulation in Emacs
:checkers
syntax ; tasing you for every semicolon you forget
(spell +flyspell) ; tasing you for misspelling mispelling
:tools
biblio ; Writes a PhD for you (citation needed)
2024-03-25 14:18:11 -04:00
debugger ; FIXME stepping through code, to help you add bugs
2023-10-19 11:23:45 -04:00
direnv
2024-03-25 14:18:11 -04:00
docker
editorconfig ; let someone else argue about tabs vs spaces
ein ; tame Jupyter notebooks with emacs
2024-04-06 13:20:25 -04:00
(eval +overlay) ; run code, run (also, repls)
2025-02-19 12:45:59 -05:00
(lookup +dictionary +offline +docsets) ; navigate your code and its documentation
(lsp +eglot) ; M-x vscode
2023-03-05 12:03:36 -05:00
magit ; a git porcelain for Emacs
2024-03-25 14:18:11 -04:00
make ; run make tasks from Emacs
2023-03-05 12:03:36 -05:00
pdf ; pdf enhancements
2024-07-09 16:01:44 -04:00
;;terraform ; infrastructure as code
2023-03-29 08:58:08 -04:00
tree-sitter ; syntax and parsing, sitting in a tree...
2024-03-25 14:18:11 -04:00
upload ; map local to remote projects via ssh/ftp
2023-03-05 12:03:36 -05:00
:os
2025-02-17 12:12:58 -05:00
;;(:if IS-MAC macos) ; improve compatibility with macOS
tty ; improve the terminal Emacs experience
2023-03-05 12:03:36 -05:00
:lang
;;agda ; types of types of types of types...
;;beancount ; mind the GAAP
2025-02-19 12:45:59 -05:00
(cc +lsp +tree-sitter)
common-lisp ; if you've seen one lisp, you've seen them all
2023-03-29 08:58:08 -04:00
(clojure +lsp +tree-sitter)
2023-03-05 12:03:36 -05:00
;;coq ; proofs-as-programs
;;crystal ; ruby at the speed of c
;;csharp ; unity, .NET, and mono shenanigans
data ; config/data formats
;;(dart +flutter) ; paint ui and not much else
;;dhall
;;elixir ; erlang done right
2024-06-06 15:42:40 -04:00
;; elm ; care for a cup of TEA?
2023-03-05 12:03:36 -05:00
emacs-lisp ; drown in parentheses
;;erlang ; an elegant language for a more civilized age
;;ess ; emacs speaks statistics
;;factor
;;faust ; dsp, but you get to keep your soul
;;fortran ; in FORTRAN, GOD is REAL (unless declared INTEGER)
;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3
2024-06-06 15:42:40 -04:00
gdscript ; the language you waited for
2023-03-05 12:03:36 -05:00
;;(go +lsp) ; the hipster dialect
;;(graphql +lsp) ; Give queries a REST
2024-11-01 12:15:03 -04:00
;; (haskell +lsp +tree-sitter) ; a language that's lazier than I am
2023-03-05 12:03:36 -05:00
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on
2023-03-29 08:58:08 -04:00
(json +lsp +tree-sitter) ; At least it ain't XML
2025-02-19 12:45:59 -05:00
(java +lsp +tree-sitter) ; the poster child for carpal tunnel syndrome
2023-03-29 08:58:08 -04:00
(javascript +lsp +tree-sitter) ; all(hope(abandon(ye(who(enter(here))))))
2023-03-05 12:03:36 -05:00
;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
2024-07-09 16:01:44 -04:00
;;latex ; writing papers in Emacs has never been so fun
2023-03-05 12:03:36 -05:00
;;lean ; for folks with too much to prove
;;ledger ; be audit you can be
2024-06-06 15:42:40 -04:00
(lua +tree-sitter) ; one-based indices? one-based indices
2024-03-25 14:18:11 -04:00
(markdown +tree-sitter) ; writing docs for people to ignore
2023-03-05 12:03:36 -05:00
;;nim ; python + lisp at the speed of c
2024-11-01 12:15:03 -04:00
(nix +treesitter +lsp) ; I hereby Declare "nix geht mehr!"
2023-03-05 12:03:36 -05:00
;;ocaml ; an objective camel
2024-10-30 17:02:39 -04:00
(org +pretty +dragndrop) ; organize your plain life in plain text
2024-06-06 15:42:40 -04:00
(php +tree-sitter) ; perl's insecure younger brother
2023-03-05 12:03:36 -05:00
;;plantuml ; diagrams for confusing people more
2023-09-20 09:32:32 -04:00
;; purescript ; javascript, but functional
2023-03-29 08:58:08 -04:00
(python +lsp +tree-sitter) ; beautiful is better than ugly
2025-02-17 12:12:58 -05:00
;;qt ; the 'cutest' gui framework ever
2023-03-08 10:46:17 -05:00
(racket +lsp) ; a DSL for DSLs
2023-03-05 12:03:36 -05:00
;;raku ; the artist formerly known as perl6
;;rest ; Emacs as a REST client
;;rst ; ReST in peace
2025-02-19 12:45:59 -05:00
(ruby +tree-sitter) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
2023-10-19 11:23:45 -04:00
(rust +lsp +tree-sitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
2023-03-05 12:03:36 -05:00
;;scala ; java, but good
2024-04-06 13:20:25 -04:00
(scheme +guile) ; a fully conniving family of lisps
2025-02-19 12:45:59 -05:00
(sh +lsp +tree-sitter) ; she sells {ba,z,fi}sh shells on the C xor
2023-03-05 12:03:36 -05:00
;;sml
;;solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance.
2023-03-29 08:58:08 -04:00
(web +lsp +tree-sitter)
(yaml +tree-sitter) ; JSON, but readable
2024-11-01 12:15:03 -04:00
;; (zig +lsp) ; C, but simpler
2023-03-05 12:03:36 -05:00
:email
2024-09-07 22:24:08 -04:00
(mu4e +mbsync)
2023-03-05 12:03:36 -05:00
:app
2025-02-17 12:12:58 -05:00
;;calendar
2023-03-05 12:03:36 -05:00
;;emms
2025-02-16 22:40:48 -05:00
;;everywhere ; *leave* Emacs!? You must be joking
2023-03-05 12:03:36 -05:00
;;irc ; how neckbeards socialize
;; (rss +org) ; emacs as an RSS reader
:config
2024-07-02 11:03:04 -04:00
(default +smartparens)
2024-06-06 15:42:40 -04:00
:private
meow)