Update doom configs

This commit is contained in:
Hunter Haugen 2019-05-17 13:25:17 -07:00
parent 672a558788
commit bafeb9d29d
Signed by: hunner
GPG key ID: EF99694AA599DDAD
2 changed files with 126 additions and 91 deletions

View file

@ -1,3 +1,3 @@
;;; ~/.doom.d/config.el -*- lexical-binding: t; -*- ;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here

View file

@ -1,135 +1,170 @@
;;; init.el -*- lexical-binding: t; -*- ;;; init.el -*- lexical-binding: t; -*-
;; Copy me to ~/.doom.d/init.el or ~/.config/doom/init.el, then edit me!
(doom! :feature ;; Copy this file to ~/.doom.d/init.el or ~/.config/doom/init.el ('doom
;debugger ; FIXME stepping through code, to help you add bugs ;; quickstart' will do this for you). The `doom!' block below controls what
eval ; run code, run (also, repls) ;; modules are enabled and in what order they will be loaded. Remember to run
(evil +everywhere); come to the dark side, we have cookies ;; 'doom refresh' after modifying it.
file-templates ; auto-snippets for empty files ;;
(lookup ; helps you navigate your code and documentation ;; More information about these modules (and what flags they support) can be
+devdocs ; ...on devdocs.io online ;; found in modules/README.org.
+docsets) ; ...or in Dash docsets locally
snippets ; my elves. They type so I don't have to
spellcheck ; tasing you for misspelling mispelling
(syntax-checker ; tasing you for every semicolon you forget
+childframe) ; use childframes for error popups (Emacs 26+ only)
version-control ; remember, remember that commit in November
workspaces ; tab emulation, persistence & separate workspaces
:completion (doom! :completion
(company ; the ultimate code completion backend company ; the ultimate code completion backend
+auto ; as-you-type code completion ;;helm ; the *other* search engine for love and life
+childframe) ; a nicer company UI (Emacs 26+ only) ;;ido ; the other *other* search engine...
;helm ; the *other* search engine for love and life ivy ; a search engine for love and life
;ido ; the other *other* search engine...
(ivy ; a search engine for love and life
+childframe) ; uses childframes for popups (Emacs 26+ only)
:ui :ui
;;deft ; notational velocity for Emacs
doom ; what makes DOOM look the way it does doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs doom-dashboard ; a nifty splash screen for Emacs
doom-modeline ; a snazzy Atom-inspired mode-line
doom-quit ; DOOM quit-message prompts when you quit Emacs doom-quit ; DOOM quit-message prompts when you quit Emacs
evil-goggles ; display visual hints when editing in evil ;;fill-column ; a `fill-column' indicator
hl-todo ; highlight TODO/FIXME/NOTE tags hl-todo ; highlight TODO/FIXME/NOTE tags
;;indent-guides ; highlighted indent columns
modeline ; snazzy, Atom-inspired modeline, plus API
nav-flash ; blink the current line after jumping nav-flash ; blink the current line after jumping
neotree ; a project drawer, like NERDTree for vim ;;neotree ; a project drawer, like NERDTree for vim
ophints ; highlight the region an operation acts on
(popup ; tame sudden yet inevitable temporary windows (popup ; tame sudden yet inevitable temporary windows
+all ; catch all popups that start with an asterix +all ; catch all popups that start with an asterix
+defaults) ; default popup rules +defaults) ; default popup rules
;tabbar ; FIXME an (incomplete) tab bar for Emacs pretty-code ; replace bits of code with pretty symbols
;unicode ; extended unicode support for various languages ;;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 vi-tilde-fringe ; fringe tildes to mark beyond EOB
window-select ; visually switch windows 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
;;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
:emacs :emacs
dired ; making dired pretty [functional] (dired ; making dired pretty [functional]
ediff ; comparing files in Emacs +ranger ; bringing the goodness of ranger to dired
electric-indent ; smarter, keyword-based electric-indent +icons ; colorful icons for dired-mode
eshell ; a consistent, cross-platform shell (WIP) )
electric ; smarter, keyword-based electric-indent
;;eshell ; a consistent, cross-platform shell (WIP)
imenu ; an imenu sidebar and searchable code index imenu ; an imenu sidebar and searchable code index
term ; terminals in Emacs term ; terminals in Emacs
vc ; version-control and Emacs, sitting in a tree
:tools :tools
editorconfig ; let someone else argue about tabs vs spaces ;;ansible
;ein ; tame Jupyter notebooks with emacs debugger ; FIXME stepping through code, to help you add bugs
;gist ; interacting with github gists ;;direnv
docker
;;editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
eval ; run code, run (also, repls)
flycheck ; tasing you for every semicolon you forget
;;flyspell ; tasing you for misspelling mispelling
gist ; interacting with github gists
(lookup ; helps you navigate your code and documentation
+docsets) ; ...or in Dash docsets locally
;;lsp
macos ; MacOS-specific commands macos ; MacOS-specific commands
magit ; a git porcelain for Emacs
make ; run make tasks from Emacs make ; run make tasks from Emacs
magit ; ;;password-store ; password manager for nerds
;password-store ; password manager for nerds ;;pdf ; pdf enhancements
pdf ; pdf enhancements ;;prodigy ; FIXME managing external services & code builders
;prodigy ; FIXME managing external services & code builders ;;rgb ; creating color strings
;rgb ; creating color strings ;;terraform ; infrastructure as code
rotate-text ; cycle region at point between text candidates
tmux ; an API for interacting with tmux tmux ; an API for interacting with tmux
upload ; map local to remote projects via ssh/ftp ;;upload ; map local to remote projects via ssh/ftp
;;wakatime
;;vterm ; another terminals in Emacs
:lang :lang
;assembly ; assembly for fun or debugging ;;agda ; types of types of types of types...
;cc ; C/C++/Obj-C madness ;;assembly ; assembly for fun or debugging
;crystal ; ruby at the speed of c ;;cc ; C/C++/Obj-C madness
;clojure ; java with a lisp ;;clojure ; java with a lisp
;csharp ; unity, .NET, and mono shenanigans ;;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 data ; config/data formats
;erlang ; an elegant language for a more civilized age ;;erlang ; an elegant language for a more civilized age
;elixir ; erlang done right ;;elixir ; erlang done right
;elm ; care for a cup of TEA? ;;elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses emacs-lisp ; drown in parentheses
;ess ; emacs speaks statistics ;;ess ; emacs speaks statistics
;go ; the hipster dialect go ; the hipster dialect
;(haskell +intero) ; a language that's lazier than I am ;;(haskell +intero) ; a language that's lazier than I am
;hy ; readability of scheme w/ speed of python ;;hy ; readability of scheme w/ speed of python
(java +meghanada) ; the poster child for carpal tunnel syndrome ;;idris ;
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
javascript ; all(hope(abandon(ye(who(enter(here)))))) javascript ; all(hope(abandon(ye(who(enter(here))))))
;julia ; a better, faster MATLAB ;;julia ; a better, faster MATLAB
;latex ; writing papers in Emacs has never been so fun ;;kotlin ; a better, slicker Java(Script)
;ledger ; an accounting system in Emacs ;;latex ; writing papers in Emacs has never been so fun
lua ; one-based indices? one-based indices ;;ledger ; an accounting system in Emacs
;;lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore markdown ; writing docs for people to ignore
;nim ; python + lisp at the speed of c ;;nim ; python + lisp at the speed of c
;nix ; I hereby declare "nix geht mehr!" ;;nix ; I hereby declare "nix geht mehr!"
;ocaml ; an objective camel ;;ocaml ; an objective camel
(org ; organize your plain life in plain text (org ; organize your plain life in plain text
+attach ; custom attachment system +attach ; custom attachment system
+babel ; running code in org +babel ; running code in org
+capture ; org-capture in and outside of Emacs +capture ; org-capture in and outside of Emacs
+export ; Exporting org to whatever you want +export ; Exporting org to whatever you want
+present) ; Emacs for presentations +habit ; Keep track of your habits
;perl ; write code no one else can comprehend +present ; Emacs for presentations
;php ; perl's insecure younger brother +protocol) ; Support for org-protocol:// links
;plantuml ; diagrams for confusing people more ;;perl ; write code no one else can comprehend
;purescript ; javascript, but functional ;;php ; perl's insecure younger brother
;python ; beautiful is better than ugly ;;plantuml ; diagrams for confusing people more
;rest ; Emacs as a REST client ;;purescript ; javascript, but functional
ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} ;;python ; beautiful is better than ugly
;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;qt ; the 'cutest' gui framework ever
;scala ; java, but good ;;racket ; a DSL for DSLs
sh ; she sells (ba|z)sh shells on the C xor ;;rest ; Emacs as a REST client
;solidity ; do you need a blockchain? No. ;;ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;swift ; who asked for emoji variables? ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;web ; the tubes ;;scala ; java, but good
(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
;; Applications are complex and opinionated modules that transform Emacs ;; Applications are complex and opinionated modules that transform Emacs
;; toward a specific purpose. They may have additional dependencies and ;; toward a specific purpose. They may have additional dependencies and
;; should be loaded late. ;; should be loaded late.
:app :app
(email +gmail) ; emacs as an email client ;;(email +gmail) ; emacs as an email client
irc ; how neckbeards socialize ;;irc ; how neckbeards socialize
;(rss +org) ; emacs as an RSS reader ;;(rss +org) ; emacs as an RSS reader
;twitter ; twitter client https://twitter.com/vnought ;;twitter ; twitter client https://twitter.com/vnought
(write ; emacs as a word processor (latex + org + markdown) ;;(write ; emacs as a word processor (latex + org + markdown)
+wordnut ; wordnet (wn) search ;; +wordnut ; wordnet (wn) search
+langtool) ; a proofreader (grammar/style check) for Emacs ;; +langtool) ; a proofreader (grammar/style check) for Emacs
:collab :collab
;floobits ; peer programming for a price ;;floobits ; peer programming for a price
;impatient-mode ; show off code over HTTP ;;impatient-mode ; show off code over HTTP
:config :config
;; The default module set reasonable defaults for Emacs. It also provides ;; For literate config users. This will tangle+compile a config.org
;; a Spacemacs-inspired keybinding scheme, a custom yasnippet library, ;; literate config in your `doom-private-dir' whenever it changes.
;; and additional ex commands for evil-mode. Use it as a reference for ;;literate
;; your own modules.
(default +bindings +snippets +evil-commands))
;; 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))