doomemacs/init.example.el

121 lines
6.3 KiB
EmacsLisp
Raw Normal View History

;;; init.el -*- lexical-binding: t; -*-
2014-07-15 14:21:56 +08:00
;;
2015-06-06 18:40:33 +08:00
;; Author: Henrik Lissner <henrik@lissner.net>
2016-03-30 12:51:12 +08:00
;; URL: https://github.com/hlissner/.emacs.d
2014-07-15 14:21:56 +08:00
;;
2016-05-21 10:37:30 +08:00
;; ================= =============== =============== ======== ========
;; \\ . . . . . . .\\ //. . . . . . .\\ //. . . . . . .\\ \\. . .\\// . . //
;; ||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\/ . . .||
;; || . .|| ||. . || || . .|| ||. . || || . .|| ||. . || ||. . . . . . . ||
;; ||. . || || . .|| ||. . || || . .|| ||. . || || . .|| || . | . . . . .||
;; || . .|| ||. _-|| ||-_ .|| ||. . || || . .|| ||. _-|| ||-_.|\ . . . . ||
;; ||. . || ||-' || || `-|| || . .|| ||. . || ||-' || || `|\_ . .|. .||
;; || . _|| || || || || ||_ . || || . _|| || || || |\ `-_/| . ||
;; ||_-' || .|/ || || \|. || `-_|| ||_-' || .|/ || || | \ / |-_.||
;; || ||_-' || || `-_|| || || ||_-' || || | \ / | `||
;; || `' || || `' || || `' || || | \ / | ||
;; || .===' `===. .==='.`===. .===' /==. | \/ | ||
;; || .==' \_|-_ `===. .===' _|_ `===. .===' _-|/ `== \/ | ||
;; || .==' _-' `-_ `=' _-' `-_ `=' _-' `-_ /| \/ | ||
;; || .==' _-' '-__\._-' '-_./__-' `' |. /| | ||
;; ||.==' _-' `' | /==.||
;; ==' _-' \/ `==
;; \ _-' `-_ /
;; `'' ``'
2014-12-11 04:54:36 +08:00
;;
2016-05-21 10:37:30 +08:00
;; These demons are not part of GNU Emacs.
2014-12-06 06:28:03 +08:00
;;
2016-05-21 21:29:11 +08:00
;;; License: MIT
2014-08-30 10:37:25 +08:00
2017-02-03 21:04:30 +08:00
(require 'core (concat user-emacs-directory "core/core"))
(doom! :feature
2017-02-03 21:04:30 +08:00
evil ; come to the dark side, we have cookies
2017-05-27 19:27:18 +08:00
jump ; helping you get around
2017-02-03 21:04:30 +08:00
snippets ; my elves. They type so I don't have to
2017-02-08 14:55:39 +08:00
file-templates ; auto-snippets for empty files
spellcheck ; tasing you for misspelling mispelling
2017-05-27 19:27:18 +08:00
syntax-checker ; tasing you for every semicolon you forget
2017-02-03 21:04:30 +08:00
version-control ; remember, remember that commit in November
2017-05-27 19:27:18 +08:00
workspaces ; tab emulation, persistence & separate workspaces
2017-02-20 07:59:15 +08:00
eval ; repls, runners 'n builders; run code, run
2017-06-09 06:36:19 +08:00
;debug ; FIXME stepping through code, to help you add bugs
2017-02-03 21:04:30 +08:00
2017-02-08 14:55:39 +08:00
:completion
2017-05-27 19:27:18 +08:00
company ; code completion backend
2017-02-08 14:55:39 +08:00
ivy ; a search engine for love and life
2017-05-27 19:27:18 +08:00
;helm ; the *other* search engine for love and life
;ido ; the other *other* search engine...
2017-02-08 14:55:39 +08:00
2017-02-03 21:04:30 +08:00
:ui
2017-06-05 06:47:56 +08:00
doom ; what makes DOOM look the way it does
2017-02-21 05:34:02 +08:00
doom-dashboard ; a nifty splash screen for Emacs
2017-02-03 21:04:30 +08:00
doom-modeline ; a snazzy Atom-inspired mode-line
doom-quit ; DOOM quit-message prompts when you quit Emacs
2017-02-20 07:59:15 +08:00
hl-todo ; highlight TODO/FIXME/NOTE tags
nav-flash ; blink the current line after jumping
2017-06-05 01:27:19 +08:00
evil-goggles ; display visual hints when editing in evil
2017-06-08 20:27:06 +08:00
;unicode ; extended unicode font support for various languages
2017-01-18 08:22:18 +08:00
2017-02-08 14:55:39 +08:00
:tools
2017-05-07 21:10:46 +08:00
dired ; making dired pretty [functional]
electric-indent ; smarter, keyword-based electric-indent
2017-02-08 14:55:39 +08:00
eshell ; a consistent, cross-platform shell (WIP)
2017-05-16 06:48:06 +08:00
gist ; interacting with github gists
2017-03-16 10:44:53 +08:00
macos ; macos-specific commands
neotree ; a project drawer, like NERDTree for vim
password-store ; password manager for nerds
rotate-text ; cycle region at point between text candidates
2017-05-16 06:48:06 +08:00
term ; terminals in Emacs
2017-02-08 14:55:39 +08:00
tmux ; an API for interacting with tmux
upload ; map local to remote projects via ssh/ftp
2015-04-23 08:48:28 +08:00
2017-01-17 12:20:25 +08:00
:lang
2017-02-20 07:59:15 +08:00
assembly ; assembly for fun or debugging
2017-02-03 21:04:30 +08:00
cc ; C/C++/Obj-C madness
crystal ; ruby at the speed of c
csharp ; unity, .NET, and mono shenanigans
data ; config/data formats
2017-05-24 18:08:26 +08:00
elixir ; erlang done right
2017-05-21 09:11:34 +08:00
elm ; care for a cup of TEA?
2017-02-03 21:04:30 +08:00
emacs-lisp ; drown in parentheses
go ; the hipster dialect
haskell ; a language that's lazier than I am
java ; the poster child for carpal tunnel syndrome
javascript ; all(hope(abandon(ye(who(enter(here))))))
julia ; a better, faster MATLAB
latex ; writing papers in Emacs has never been so fun
lua ; one-based indices? one-based indices
2017-02-20 07:59:15 +08:00
markdown ; writing docs for people to ignore
2017-02-08 14:55:39 +08:00
org ; for organized fearless leader (WIP)
2017-02-03 21:04:30 +08:00
php ; make php less awful to work with
2017-05-21 12:09:23 +08:00
purescript ; javascript, but functional
2017-02-03 21:04:30 +08:00
python ; beautiful is better than ugly
2017-03-18 11:39:08 +08:00
rest ; Emacs as a REST client
2017-04-18 17:02:18 +08:00
ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
2017-02-03 21:04:30 +08:00
rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
scala ; java, but good
sh ; she sells (ba|z)sh shells on the C xor
swift ; who asked for emoji variables?
typescript ; javascript, but better
2017-02-20 07:59:15 +08:00
web ; the tubes
2017-01-18 08:22:18 +08:00
2017-06-05 06:47:56 +08:00
;; Applications are complex and opinionated modules that transform Emacs
;; toward a specific purpose. They should be loaded last.
2017-02-08 14:55:39 +08:00
:app
2017-05-16 06:48:06 +08:00
;crm ; TODO org-mode for client relations management
2017-04-08 14:46:11 +08:00
email ; Emacs as an email client
2017-05-16 06:48:06 +08:00
;finance ; TODO keeping track of my shekels
2017-06-11 21:57:44 +08:00
irc ; how neckbeards socialize
2017-04-08 08:07:40 +08:00
present ; showing off presentations in emacs
2017-05-16 06:48:06 +08:00
;regex ; TODO emacs as a regexp IDE
2017-03-16 10:44:53 +08:00
rss ; emacs as an RSS reader
2017-04-10 10:25:30 +08:00
twitter ; twitter client https://twitter.com/vnought
2017-03-16 10:44:53 +08:00
write ; emacs as a word processor (latex + org + markdown)
2017-02-08 14:55:39 +08:00
;; Private modules named after your username are loaded automatically.
;; Leaving this here is harmless though. Also, they are omitted from
;; source control (except for mine; use it as a reference).
2017-01-18 08:22:18 +08:00
:private hlissner)