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-12-27 02:56:43 -05:00
|
|
|
;; Version: 0.8.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-12-23 03:51:15 -05:00
|
|
|
(defconst EMACS-WRITE nil)
|
|
|
|
|
2015-10-25 00:39:54 -04:00
|
|
|
(defconst narf-theme 'narf-dark)
|
2015-12-11 16:51:04 -05:00
|
|
|
(defconst narf-default-font (font-spec :family "Terminus (TTF)" :size 12 :antialias nil))
|
2015-11-30 05:33:25 -05:00
|
|
|
(defconst narf-writing-font (font-spec :family "Hack" :size 14))
|
|
|
|
(defconst narf-big-font (font-spec :family "Inconsolata" :size 20))
|
2015-04-22 20:48:28 -04:00
|
|
|
|
2015-10-25 00:39:54 -04:00
|
|
|
;; prematurely optimize for faster startup
|
2015-11-30 05:33:25 -05:00
|
|
|
(let (file-name-handler-alist
|
|
|
|
(gc-cons-threshold 169715200))
|
2015-11-17 02:11:48 -05:00
|
|
|
(scroll-bar-mode -1) ; no scrollbar
|
|
|
|
(tool-bar-mode -1) ; no toolbar
|
|
|
|
|
2015-12-22 20:12:39 -05:00
|
|
|
(load (concat user-emacs-directory "init-packages.el"))
|
2015-11-10 18:10:32 -05:00
|
|
|
(load-theme narf-theme t)
|
2014-11-29 20:21:03 -05:00
|
|
|
|
2015-10-25 00:39:54 -04:00
|
|
|
(mapc 'require
|
|
|
|
`(core ; core/core.el
|
2015-04-22 20:48:28 -04:00
|
|
|
|
2015-12-09 02:03:13 -05:00
|
|
|
;;; The heart of NARF
|
2015-11-21 18:03:20 -05:00
|
|
|
core-popup ; taming stray windows
|
2015-10-25 00:39:54 -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-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
|
2015-12-23 03:51:15 -05:00
|
|
|
core-eval ; run code, run.
|
2015-12-29 23:39:24 -05:00
|
|
|
core-workgroups ; cure Emacs alzheimers + tab emulation
|
2015-06-15 09:06:10 +02:00
|
|
|
|
2015-12-23 03:51:15 -05:00
|
|
|
;;; Environments
|
2015-10-25 00:39:54 -04:00
|
|
|
module-cc ; c/c++/obj-c madness
|
|
|
|
module-csharp ; unity, .NET, and mono shenanigans
|
|
|
|
module-data ; dbs 'n data formats
|
2015-12-23 03:51:15 -05:00
|
|
|
module-go ; the hipster dialect
|
2015-10-25 00:39:54 -04:00
|
|
|
module-java ; the poster child for carpal tunnel syndome
|
2015-11-21 18:03:20 -05:00
|
|
|
module-js ; all(hope(abandon(ye(who(enter(here))))))
|
2015-12-25 21:07:53 -05:00
|
|
|
module-lisp ; drowning in parentheses
|
2015-10-25 00:39:54 -04:00
|
|
|
module-lua ; one-based indices? one-based indices.
|
|
|
|
module-markdown ; markdown
|
2015-12-06 22:56:34 -05:00
|
|
|
module-nim ; look out Abraham
|
2015-10-25 00:39:54 -04:00
|
|
|
module-org ; for fearless [organized] leader
|
|
|
|
module-php ; making php less painful to work with
|
2015-12-25 21:07:53 -05:00
|
|
|
module-plantuml ; to help show how right I am
|
2015-10-25 00:39:54 -04:00
|
|
|
module-python ; beautiful is better than ugly
|
|
|
|
module-regex ; /^[^\s](meaning)[^\n]*/
|
|
|
|
module-ruby ; <3
|
2016-01-01 16:21:47 -05:00
|
|
|
module-rust ; Fe2O3; for gamedev and great good
|
2015-10-25 00:39:54 -04:00
|
|
|
module-sh ; she sells Z-shells by the C XOR
|
|
|
|
module-swift ; yay, emoji variables!
|
|
|
|
module-vim ; my mistress
|
|
|
|
module-web ; for the 2.0'er
|
2015-11-19 05:55:21 -05:00
|
|
|
;;; Experimental
|
|
|
|
;; module-crystal ; ruby at the speed of c
|
2015-11-21 18:03:20 -05:00
|
|
|
;; module-eshell ; for inferior OSes *cough*windows
|
2015-11-19 05:55:21 -05:00
|
|
|
|
2015-12-23 03:51:15 -05:00
|
|
|
;;; Specific custom functionality
|
2015-12-25 21:07:53 -05:00
|
|
|
lib-plugin ; plugin dev for various programs
|
2015-12-23 03:51:15 -05:00
|
|
|
lib-tmux ; closing the rift between GUI & terminal
|
2015-12-27 02:54:51 -05:00
|
|
|
lib-demo ; let me demonstrate...
|
2016-01-01 16:21:47 -05:00
|
|
|
lib-writing ; yes, I write papers and fiction in emacs
|
|
|
|
;; lib-crm ; emacs and org-mode based CRM
|
2015-12-23 03:51:15 -05:00
|
|
|
|
|
|
|
;;; Key bindings & ex commands
|
2015-10-25 00:39:54 -04:00
|
|
|
my-bindings
|
|
|
|
my-commands
|
2015-12-27 02:52:03 -05:00
|
|
|
)))
|
|
|
|
|
|
|
|
(narf-init)
|
2015-09-30 13:47:57 -04:00
|
|
|
|
2015-06-06 06:40:33 -04:00
|
|
|
;;; I think so Brain...
|