2015-06-06 06:40:33 -04:00
|
|
|
;;; init.el --- NARF bootstrap
|
2014-07-15 02:21:56 -04:00
|
|
|
;;
|
2015-06-06 06:40:33 -04:00
|
|
|
;; Author: Henrik Lissner <henrik@lissner.net>
|
|
|
|
;; URL: https://github.com/hlissner/emacs.d
|
2015-06-14 17:16:02 +02:00
|
|
|
;; Version: 0.1.0
|
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
|
|
|
;;
|
2015-06-06 06:38:16 -04:00
|
|
|
;; ,,, !/:.
|
|
|
|
;; /::\". !!:::
|
|
|
|
;; :::::\". ," \:,::
|
|
|
|
;; ::::::\ ". ,","\::.
|
2015-06-06 06:40:33 -04:00
|
|
|
;; \:::::":\ "/""v' :'
|
2015-06-06 06:38:16 -04:00
|
|
|
;; !::::\ ! \ \ __
|
|
|
|
;; "::::\ \ ! \.&&&&,
|
2015-06-06 06:40:33 -04:00
|
|
|
;; ," __ ", cd,&&&&&&'
|
2015-06-06 06:38:16 -04:00
|
|
|
;; \ ". "" / \&&&" _,---
|
|
|
|
;; "",__\_ / _,:":::::
|
|
|
|
;; _," ,"" ,-,__,/":,_ ,",":::::::
|
|
|
|
;; _," ," `'' ::::,",__,,----,,__," /:::::::::
|
|
|
|
;; ," ,".__, \:::," " /:::":::::/
|
|
|
|
;; ," ,/"::::::\ >" (_-"/::::::
|
|
|
|
;; / ,"_!:::::::/, ," _,,--, /::::::/
|
|
|
|
;; / "" _,"\:::::::' ! ," ){:::::/
|
|
|
|
;; ! _," \ "", \,"""-,____,"__,,,"_," _/
|
2015-06-06 06:40:33 -04:00
|
|
|
;; ""t" \\ \ "-,_(*)&&&&(*)," \ ."
|
2015-06-06 06:38:16 -04:00
|
|
|
;; / \", ! , \ ! - )
|
|
|
|
;; ! \ "" ! !==!"-,__,'
|
|
|
|
;; ! \ """_""""`, ", /"_
|
2015-06-06 06:40:33 -04:00
|
|
|
;; \ , .l /" " ", \! ,_/
|
2015-06-06 06:38:16 -04:00
|
|
|
;; ), \ / \ \/ ,, /! !
|
|
|
|
;; ,::\ \," \ ! \/ ! !
|
|
|
|
;; _,::::" ) )\ ," ___ \ -,_, ,"",! !
|
|
|
|
;; __,,,::::"" ," ,":::,-:::--:" __\_!__/_""-,_!
|
|
|
|
;; ,,:::""""""" ,:_,""__...._"""::::"" /:::::" ""::::::
|
2015-06-06 06:40:33 -04:00
|
|
|
;; (:._ l::::::::::::\\/ "" ""
|
2015-06-06 06:38:16 -04:00
|
|
|
;; """"--,,,--- """"
|
2014-12-05 17:28:03 -05:00
|
|
|
;;
|
2015-06-06 06:40:33 -04:00
|
|
|
;; These mice are not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
2014-08-29 22:37:25 -04:00
|
|
|
|
2015-06-06 06:40:33 -04:00
|
|
|
(defconst narf-debug-mode nil)
|
2014-07-15 02:21:56 -04:00
|
|
|
|
2015-06-20 10:23:13 +02:00
|
|
|
(defconst narf-default-theme 'narf-dark)
|
|
|
|
(defconst narf-term-theme 'wombat)
|
2015-06-14 17:16:02 +02:00
|
|
|
(defconst narf-default-font '(:family "terminus (ttf)" :size 12 :antialias nil))
|
|
|
|
(defconst narf-big-font '(:family "Inconsolata" :size 18 :antialias t))
|
2015-04-22 20:48:28 -04:00
|
|
|
|
2015-06-14 17:16:02 +02:00
|
|
|
(load (concat user-emacs-directory "init-load-path.el"))
|
2015-06-06 06:40:33 -04:00
|
|
|
(mapc 'require
|
2015-06-15 09:06:10 +02:00
|
|
|
`(;; benchmark ; records load times in `require-times'; see `list-times'
|
|
|
|
core ; core/core.el
|
2014-11-29 20:21:03 -05:00
|
|
|
|
2015-06-15 09:06:10 +02:00
|
|
|
,(cond (IS-MAC 'core-os-osx)
|
|
|
|
(IS-LINUX 'core-os-linux)
|
|
|
|
(IS-WINDOWS 'core-os-win32))
|
2015-04-22 20:48:28 -04:00
|
|
|
|
2015-06-15 09:06:10 +02: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-auto-insert ; for the laziest typist
|
|
|
|
core-flycheck ; remember that semicolon you forgot?
|
|
|
|
core-project ; whose project am I in?
|
|
|
|
core-vcs ; version control is a programmer's best friend
|
|
|
|
core-helm ; a search engine for life and love
|
|
|
|
core-quickrun ; run code, run.
|
|
|
|
core-workgroups ; cure Emacs alzheimers
|
|
|
|
|
|
|
|
module-cc ; c/c++/obj-c madness
|
|
|
|
module-csharp ; unity, mono and xamarin
|
|
|
|
module-data ; dbs 'n data formats
|
2015-07-17 12:09:35 +02:00
|
|
|
module-eshell ; eshell (on windows)
|
|
|
|
module-go ; a hipster dialect
|
2015-06-15 09:06:10 +02:00
|
|
|
module-java ; the poster child for carpal tunnel syndome
|
|
|
|
module-js ; alert("not java, javascript!")
|
|
|
|
module-elisp ;
|
|
|
|
module-lua ; one-based indices? one-based indices.
|
|
|
|
module-lb6 ; LaunchBar 6 development
|
2015-07-22 17:35:04 +02:00
|
|
|
module-org ; for fearless [organized] leader
|
2015-06-15 09:06:10 +02:00
|
|
|
module-php ; making php less painful to work with
|
|
|
|
module-python ; beautiful is better than ugly
|
|
|
|
module-regex ; /^[^\s](meaning)[^\n]*/
|
|
|
|
module-ruby ; <3
|
|
|
|
module-sass ; @include magic;
|
2015-07-16 20:35:18 +02:00
|
|
|
module-swift ; yay, emoji variables!
|
2015-06-15 09:06:10 +02:00
|
|
|
module-markdown ; markdown
|
|
|
|
;; module-rust
|
|
|
|
;; module-r ; for science!
|
|
|
|
module-vim ; the confessional
|
|
|
|
module-web ; for the 2.0'er
|
|
|
|
|
|
|
|
my-bindings
|
|
|
|
my-commands
|
|
|
|
))
|
2014-09-20 16:54:04 -04:00
|
|
|
|
2015-06-14 17:16:02 +02:00
|
|
|
(defun display-startup-echo-area-message ()
|
|
|
|
(message ">>> Loaded in %s" (emacs-init-time)))
|
2014-12-05 17:28:03 -05:00
|
|
|
|
2015-06-06 06:40:33 -04:00
|
|
|
;;; I think so Brain...
|