2016-02-20 16:18:21 -05:00
|
|
|
;;; init.el
|
2014-07-15 02:21:56 -04:00
|
|
|
;;
|
2015-06-06 06:40:33 -04:00
|
|
|
;; Author: Henrik Lissner <henrik@lissner.net>
|
2016-03-30 00:51:12 -04:00
|
|
|
;; URL: https://github.com/hlissner/.emacs.d
|
2016-05-20 22:51:15 -04:00
|
|
|
;; Version: 1.1.0
|
2014-07-15 02:21:56 -04:00
|
|
|
;;
|
2016-05-20 22:37:30 -04:00
|
|
|
;; ================= =============== =============== ======== ========
|
|
|
|
;; \\ . . . . . . .\\ //. . . . . . .\\ //. . . . . . .\\ \\. . .\\// . . //
|
|
|
|
;; ||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\/ . . .||
|
|
|
|
;; || . .|| ||. . || || . .|| ||. . || || . .|| ||. . || ||. . . . . . . ||
|
|
|
|
;; ||. . || || . .|| ||. . || || . .|| ||. . || || . .|| || . | . . . . .||
|
|
|
|
;; || . .|| ||. _-|| ||-_ .|| ||. . || || . .|| ||. _-|| ||-_.|\ . . . . ||
|
|
|
|
;; ||. . || ||-' || || `-|| || . .|| ||. . || ||-' || || `|\_ . .|. .||
|
|
|
|
;; || . _|| || || || || ||_ . || || . _|| || || || |\ `-_/| . ||
|
|
|
|
;; ||_-' || .|/ || || \|. || `-_|| ||_-' || .|/ || || | \ / |-_.||
|
|
|
|
;; || ||_-' || || `-_|| || || ||_-' || || | \ / | `||
|
|
|
|
;; || `' || || `' || || `' || || | \ / | ||
|
|
|
|
;; || .===' `===. .==='.`===. .===' /==. | \/ | ||
|
|
|
|
;; || .==' \_|-_ `===. .===' _|_ `===. .===' _-|/ `== \/ | ||
|
|
|
|
;; || .==' _-' `-_ `=' _-' `-_ `=' _-' `-_ /| \/ | ||
|
|
|
|
;; || .==' _-' '-__\._-' '-_./__-' `' |. /| | ||
|
|
|
|
;; ||.==' _-' `' | /==.||
|
|
|
|
;; ==' _-' \/ `==
|
|
|
|
;; \ _-' `-_ /
|
|
|
|
;; `'' ``'
|
2014-12-10 15:54:36 -05:00
|
|
|
;;
|
2016-05-20 22:37:30 -04:00
|
|
|
;; These demons are not part of GNU Emacs.
|
2014-12-05 17:28:03 -05:00
|
|
|
;;
|
2016-05-20 22:37:30 -04:00
|
|
|
;;; License: GPLv3
|
2014-08-29 22:37:25 -04:00
|
|
|
|
2016-01-29 02:04:27 -05:00
|
|
|
(load (concat user-emacs-directory "bootstrap.el"))
|
|
|
|
;;
|
|
|
|
|
2016-05-20 22:37:30 -04:00
|
|
|
(defconst doom-default-theme 'doom-one)
|
|
|
|
(defconst doom-terminal-theme 'doom-dark)
|
|
|
|
(defconst doom-default-font (font-spec :family "Fira Mono" :size 12))
|
2016-03-23 11:55:52 -04:00
|
|
|
|
2016-05-20 22:37:30 -04:00
|
|
|
(defconst doom-leader "," "Prefix for <leader> bindings")
|
|
|
|
(defconst doom-localleader "\\" "Prefix for <localleader> bindings")
|
2016-05-20 09:23:46 -04:00
|
|
|
|
2016-05-20 22:37:30 -04:00
|
|
|
(doom `(core ; core/core.el
|
2016-04-23 22:08:46 -04:00
|
|
|
|
|
|
|
,(cond (IS-MAC 'core-os-osx)
|
|
|
|
(IS-LINUX 'core-os-linux)
|
|
|
|
(IS-WINDOWS 'core-os-win32))
|
2015-11-17 02:11:48 -05:00
|
|
|
|
2016-05-20 22:37:30 -04:00
|
|
|
;; The heart of DOOM
|
2016-05-12 22:11:43 -04:00
|
|
|
core-ui ; draw me like one of your French editors
|
|
|
|
core-evil ; come to the dark side, we have cookies
|
|
|
|
core-editor ; filling the editor-shaped hole in the emacs OS
|
|
|
|
core-company ; for the lazy typist
|
|
|
|
core-yasnippet ; for the lazier typist
|
|
|
|
core-autoinsert ; for the laziest typist
|
|
|
|
core-flycheck ; get tazed for every semicolon you forget
|
|
|
|
core-project ; whose project am I in?
|
|
|
|
core-vcs ; remember remember, that commit in November
|
|
|
|
core-helm ; a search engine for life and love
|
|
|
|
core-workgroups ; cure Emacs alzheimers + tab emulation
|
|
|
|
core-eval ; run code, run; debug too
|
2016-05-20 22:37:30 -04:00
|
|
|
core-popup ; taming sudden and inevitable windows
|
2014-11-29 20:21:03 -05:00
|
|
|
|
2016-01-29 02:04:27 -05:00
|
|
|
;; Environments
|
2016-05-12 22:11:43 -04:00
|
|
|
module-apple ; Applescript, Swift, Launchbar & other wallet syphons
|
|
|
|
module-cc ; C/C++/Obj-C madness
|
|
|
|
module-crystal ; ruby at the speed of c
|
|
|
|
module-csharp ; unity, .NET, and mono shenanigans
|
2016-05-20 09:23:46 -04:00
|
|
|
module-css ; #big-bang::before { content: ""; }
|
2016-05-12 22:11:43 -04:00
|
|
|
module-data ; config and data formats
|
|
|
|
module-go ; the hipster dialect
|
|
|
|
module-haskell ; a language that's lazier than I am
|
|
|
|
module-java ; the poster child for carpal tunnel syndrome
|
|
|
|
module-js ; all(hope(abandon(ye(who(enter(here))))))
|
|
|
|
module-julia ; MATLAB, but fast
|
|
|
|
module-latex ; for writing papers in Emacs
|
|
|
|
module-lisp ; drowning in parentheses
|
|
|
|
module-lua ; one-based indices? one-based indices.
|
|
|
|
module-org ; for organized fearless leader
|
|
|
|
module-php ; making php less painful to work with
|
|
|
|
module-processing ; pretty prototypes
|
|
|
|
module-python ; beautiful is better than ugly
|
|
|
|
module-ruby ; 1.step do {|i| p "Ruby is #{i&1==0?'love':'life'}"}
|
|
|
|
module-rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
|
|
|
module-scala ; Java, but good
|
|
|
|
module-sh ; she sells Z-shells by the C XOR
|
|
|
|
module-text ; writing docs for people to ignore
|
2016-05-20 09:23:46 -04:00
|
|
|
module-web ; The end is always near </html>
|
2015-04-22 20:48:28 -04:00
|
|
|
|
2016-01-29 02:04:27 -05:00
|
|
|
;; Experimental
|
2016-05-12 22:11:43 -04:00
|
|
|
;;module-eshell ; for inferior OSes *cough*windows
|
2016-03-01 01:59:36 -05:00
|
|
|
|
2016-04-19 02:08:48 -04:00
|
|
|
;; Extra libraries
|
2016-05-12 22:11:43 -04:00
|
|
|
extra-demo ; allow me to demonstrate...
|
|
|
|
extra-tags ; if you liked it you should've generated a tag for it
|
|
|
|
extra-tmux ; close the rift between GUI & terminal
|
|
|
|
extra-write ; Emacs as a word processor
|
2015-12-23 03:51:15 -05:00
|
|
|
|
2016-05-20 22:37:30 -04:00
|
|
|
;; Personal
|
2016-01-29 02:04:27 -05:00
|
|
|
my-commands
|
2016-05-20 22:37:30 -04:00
|
|
|
my-bindings
|
2016-01-29 02:04:27 -05:00
|
|
|
))
|
2015-09-30 13:47:57 -04:00
|
|
|
|
2016-05-20 22:37:30 -04:00
|
|
|
;;
|