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-13 00:32:39 -04:00
|
|
|
;; Version: 1.0.1
|
2014-07-15 02:21:56 -04:00
|
|
|
;;
|
2015-06-14 17:16:02 +02:00
|
|
|
;;; Are you pondering what I'm pondering, Pinky?
|
2014-12-10 15:54:36 -05:00
|
|
|
;;
|
2016-05-12 22:11:43 -04:00
|
|
|
;; ,,, !/:.
|
|
|
|
;; /::\". !!:::
|
|
|
|
;; :::::\". ," \:,::
|
|
|
|
;; ::::::\ ". ,","\::.
|
|
|
|
;; \:::::":\ "/""v' :'
|
|
|
|
;; !::::\ ! \ \ __
|
|
|
|
;; "::::\ \ ! \.&&&&,
|
|
|
|
;; ," __ ", cd,&&&&&&'
|
|
|
|
;; \ ". "" / \&&&" _,---
|
|
|
|
;; "",__\_ / _,:":::::
|
|
|
|
;; _," ,"" ,-,__,/":,_ ,",":::::::
|
|
|
|
;; _," ," `'' ::::,",__,,----,,__," /:::::::::
|
|
|
|
;; ," ,".__, \:::," " /:::":::::/
|
|
|
|
;; ," ,/"::::::\ >" (_-"/::::::
|
|
|
|
;; / ,"_!:::::::/, ," _,,--, /::::::/
|
|
|
|
;; / "" _,"\:::::::' ! ," ){:::::/
|
|
|
|
;; ! _," \ "", \,"""-,____,"__,,,"_," _/
|
|
|
|
;; ""t" \\ \ "-,_(*)&&&&(*)," \ ."
|
|
|
|
;; / \", ! , \ ! - )
|
|
|
|
;; ! \ "" ! !==!"-,__,'
|
|
|
|
;; ! \ """_""""`, ", /"_
|
|
|
|
;; \ , .l /" " ", \! ,_/
|
|
|
|
;; ), \ / \ \/ ,, /! !
|
|
|
|
;; ,::\ \," \ ! \/ ! !
|
|
|
|
;; _,::::" ) )\ ," ___ \ -,_, ,"",! !
|
|
|
|
;; __,,,::::"" ," ,":::,-:::--:" __\_!__/_""-,_!
|
|
|
|
;; ,,:::""""""" ,:_,""__...._"""::::"" /:::::" ""::::::
|
|
|
|
;; (:._ l::::::::::::\\/ "" ""
|
|
|
|
;; """"--,,,--- """"
|
2014-12-05 17:28:03 -05:00
|
|
|
;;
|
2015-06-06 06:40:33 -04:00
|
|
|
;; These mice are not part of GNU Emacs.
|
|
|
|
;;
|
2016-03-28 22:26:35 -04:00
|
|
|
;;; License: MIT
|
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 01:46:45 -04:00
|
|
|
(defconst narf-default-theme 'narf-one)
|
|
|
|
(defconst narf-terminal-theme 'narf-dark)
|
|
|
|
(defconst narf-default-font (font-spec :family "Fira Mono" :size 12))
|
2016-03-23 11:55:52 -04:00
|
|
|
|
2016-05-20 09:23:46 -04:00
|
|
|
(defconst narf-leader-prefix "," "Prefix for <leader> bindings")
|
|
|
|
(defconst narf-localleader-prefix "\\" "Prefix for <localleader> bindings")
|
|
|
|
|
|
|
|
;; Load packages
|
2016-04-23 22:08:46 -04:00
|
|
|
(narf `(core ; core/core.el
|
|
|
|
|
|
|
|
;; OS-specific config
|
|
|
|
,(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-01-29 02:04:27 -05:00
|
|
|
;; The heart of NARF
|
2016-05-12 22:11:43 -04:00
|
|
|
core-popup ; taming sudden and inevitable windows
|
|
|
|
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
|
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-04-19 02:08:48 -04:00
|
|
|
;; Customization
|
2016-01-29 02:04:27 -05:00
|
|
|
my-bindings
|
|
|
|
my-commands
|
|
|
|
))
|
2015-09-30 13:47:57 -04:00
|
|
|
|
2015-06-06 06:40:33 -04:00
|
|
|
;;; I think so Brain...
|