226 lines
11 KiB
EmacsLisp
226 lines
11 KiB
EmacsLisp
;;; init.el -*- lexical-binding: t; -*-
|
|
;; Copy me to ~/.doom.d/init.el or ~/.config/doom/init.el, then edit me!
|
|
|
|
(doom! :input
|
|
;;chinese
|
|
;;japanese
|
|
|
|
:completion
|
|
company ; the ultimate code completion backend
|
|
(ivy ; a search engine for love and life
|
|
+icons
|
|
+fuzzy)
|
|
;;helm ; the *other* search engine for love and life
|
|
;;ido ; the other *other* search engine...
|
|
|
|
:ui
|
|
deft ; notational velocity for Emacs
|
|
doom ; what makes DOOM look the way it does
|
|
doom-dashboard ; a nifty spash screen for Emacs
|
|
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
|
;;fill-column ; a `fill-column' indicator
|
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
|
;;hydra
|
|
;;indent-guides ; highlighted indent columns
|
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
|
nav-flash ; blink the current line after jumping
|
|
;;neotree ; a project drawer, like NERDTree for vim
|
|
ophints ; highlight the region an operation acts on
|
|
(popup ; tame sudden yet inevitable temporary windows
|
|
+all ; catch all popups that start with an asterix
|
|
+defaults) ; default popup rules
|
|
;;(pretty-code +fira) ; replace bits of code with pretty symbols
|
|
;;tabbar ; FIXME an (incomplete) tab bar for Emacs
|
|
treemacs ; a project drawer, like neotree but cooler
|
|
unicode ; extended unicode support for various languages
|
|
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
|
|
|
|
: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
|
|
;;lispy ; vim for lisp, for people who dont like vim
|
|
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
|
|
snippets ; my elves. They type so I don't have to
|
|
;;word-wrap ; soft wrapping with language-aware indent
|
|
|
|
:emacs
|
|
(dired
|
|
+ranger
|
|
+icons)
|
|
electric ; smarter, keyword-based electric-indent
|
|
ibuffer ; interactive buffer management
|
|
vc ; version-control and Emacs, sitting in a tree
|
|
|
|
|
|
:checkers
|
|
syntax ; tasing you for every semicolon you forget
|
|
spell ; tasing you for misspelling mispelling
|
|
grammar ; tasing grammar mistake every you make
|
|
|
|
:term
|
|
eshell ; a consistent, cross-platform shell (WIP)
|
|
;;shell ; a terminal REPL for Emacs
|
|
term ; terminals in Emacs
|
|
;;vterm ; another terminals in Emacs
|
|
|
|
: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
|
|
(eval +overlay) ; run code, run (also, repls)
|
|
gist ; interacting with github gists
|
|
(lookup ; helps you navigate your code and documentation
|
|
+docsets) ; ...or in Dash docsets locally
|
|
;;lsp
|
|
;;macos ; MacOS-specific commands
|
|
magit ; a git porcelain for Emacs
|
|
make ; run make tasks from Emacs
|
|
pass ; password manager for nerds
|
|
pdf ; pdf enhancements
|
|
;;prodigy ; FIXME managing external services & code builders
|
|
;;rgb ; creating color strings
|
|
terraform ; infrastructure as code
|
|
;;tmux ; an API for interacting with tmux
|
|
;;upload ; map local to remote projects via ssh/ftp
|
|
;;wakatime
|
|
|
|
:lang
|
|
;;agda ; types of types of types of types...
|
|
;;assembly ; assembly for fun or debugging
|
|
;;cc ; C/C++/Obj-C madness
|
|
;;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
|
|
data ; config/data formats
|
|
;;erlang ; an elegant language for a more civilized age
|
|
elixir ; erlang done right
|
|
elm ; care for a cup of TEA?
|
|
emacs-lisp ; drown in parentheses
|
|
;;ess ; emacs speaks statistics
|
|
;;fsharp ; ML stands for Microsoft's Language
|
|
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
|
|
;;kotlin ; a better, slicker Java(Script)
|
|
;;latex ; writing papers in Emacs has never been so fun
|
|
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
|
|
+brain ; an org brain?
|
|
+dragndrop ; file drag & drop support
|
|
+hugo
|
|
+gnuplot
|
|
+ipython ; ipython support for babel
|
|
+journal
|
|
+roam
|
|
+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
|
|
python ; beautiful is better than ugly
|
|
;;qt ; the 'cutest' gui framework ever
|
|
racket ; a DSL for DSLs
|
|
rest ; Emacs as a REST client
|
|
ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
|
rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
|
scala ; java, but good
|
|
scheme ; a fully conniving family of lisps
|
|
(sh +fish) ; she sells (ba|z|fi)sh shells on the C xor
|
|
;;solidity ; do you need a blockchain? No.
|
|
;;swift ; who asked for emoji variables?
|
|
;;terra ; Earth and Moon in alignment for performance.
|
|
web ; the tubes
|
|
;;vala ; GObjective-C
|
|
|
|
:email
|
|
;;(mu4e +gmail) ; WIP
|
|
notmuch ; WIP
|
|
;;(wanderlust +gmail) ; WIP
|
|
|
|
;; Applications are complex and opinionated modules that transform Emacs
|
|
;; toward a specific purpose. They may have additional dependencies and
|
|
;; should be loaded late.
|
|
:app
|
|
;;calendar
|
|
irc ; how neckbeards socialize
|
|
(rss +org) ; emacs as an RSS reader
|
|
;;twitter ; twitter client https://twitter.com/vnought
|
|
|
|
:config
|
|
;; For literate config users. This will tangle+compile a config.org
|
|
;; literate config in your `doom-private-dir' whenever it changes.
|
|
literate
|
|
|
|
;; The default module sets reasonable defaults for Emacs. It also
|
|
;; provides a Spacemacs-inspired keybinding scheme and a smartparens
|
|
;; config. Use it as a reference for your own modules.
|
|
(default +bindings +smartparens))
|
|
(custom-set-variables
|
|
;; custom-set-variables was added by Custom.
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
;; Your init file should contain only one such instance.
|
|
;; If there is more than one, they won't work right.
|
|
'(ansi-color-names-vector
|
|
["#2b2a27" "#ff5d38" "#98be65" "#bcd42a" "#51afef" "#c678dd" "#46D9FF" "#ede0ce"])
|
|
'(custom-safe-themes
|
|
(quote
|
|
("2d1fe7c9007a5b76cea4395b0fc664d0c1cfd34bb4f1860300347cdad67fb2f9" "bd6ced8badda12f95e16e641d76d861de096c691720ede6388a226914e97cf23" "528d0ed2f87187406f4db88879555f03f1c9478018a49e2e35c84b666c97d44a" "a70b47c87e9b0940f6fece46656200acbfbc55e129f03178de8f50934ac89f58" "1f36ca86913068b7d8377a327394eecfff71be34119619f779cb229875ceec0c" "0eb3c0868ff890b0c4ee138069ce2a8936a8a69ba150efa6bfb9fb7c05af5ec3" "001c2ff8afde9c3e707a2eb3e810a0a36fb2b466e96377ac95968e7f8930a7c5" "2a3ffb7775b2fe3643b179f2046493891b0d1153e57ec74bbe69580b951699ca" "0fe9f7a04e7a00ad99ecacc875c8ccb4153204e29d3e57e9669691e6ed8340ce" "f951343d4bbe5a90dba0f058de8317ca58a6822faa65d8463b0e751a07ec887c" "423435c7b0e6c0942f16519fa9e17793da940184a50201a4d932eafe4c94c92d" "cdb3e7a8864cede434b168c9a060bf853eeb5b3f9f758310d2a2e23be41a24ae" "70cc30fd9d27a8d0d3ae82974ac2c409fd2cd5746470e2246778c6bec2d4857c" "5e96177f8bd6762e3f167fb7f5b6199fbff81704f654c66c772cd326d4fb78e3" "2878517f049b28342d7a360fd3f4b227086c4be8f8409f32e0f234d129cee925" "f30aded97e67a487d30f38a1ac48eddb49fdb06ac01ebeaff39439997cbdd869" default)))
|
|
'(fci-rule-color "#5B6268")
|
|
'(jdee-db-active-breakpoint-face-colors (cons "#2b2a27" "#ff5d38"))
|
|
'(jdee-db-requested-breakpoint-face-colors (cons "#2b2a27" "#98be65"))
|
|
'(jdee-db-spec-breakpoint-face-colors (cons "#2b2a27" "#3f444a"))
|
|
'(objed-cursor-color "#ff5d38")
|
|
'(safe-local-variable-values (quote ((url-max-redirections . 0))))
|
|
'(vc-annotate-background "#2b2a27")
|
|
'(vc-annotate-color-map
|
|
(list
|
|
(cons 20 "#98be65")
|
|
(cons 40 "#a4c551")
|
|
(cons 60 "#b0cc3d")
|
|
(cons 80 "#bcd42a")
|
|
(cons 100 "#c1a623")
|
|
(cons 120 "#c5781c")
|
|
(cons 140 "#cb4b16")
|
|
(cons 160 "#c95a58")
|
|
(cons 180 "#c7699a")
|
|
(cons 200 "#c678dd")
|
|
(cons 220 "#d96fa6")
|
|
(cons 240 "#ec666f")
|
|
(cons 260 "#ff5d38")
|
|
(cons 280 "#cf563c")
|
|
(cons 300 "#9f5041")
|
|
(cons 320 "#6f4a45")
|
|
(cons 340 "#5B6268")
|
|
(cons 360 "#5B6268")))
|
|
'(vc-annotate-very-old-color nil))
|
|
(custom-set-faces
|
|
;; custom-set-faces was added by Custom.
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
;; Your init file should contain only one such instance.
|
|
;; If there is more than one, they won't work right.
|
|
)
|