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-10-15 14:01:53 -04:00
|
|
|
;; Version: 0.4.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)
|
2015-09-30 13:47:57 -04:00
|
|
|
(setq gc-cons-threshold 84857600) ; avoid garbage collection
|
2015-10-15 14:01:53 -04:00
|
|
|
(setq file-name-handler-alist nil) ; premature optimization weee!
|
2014-07-15 02:21:56 -04:00
|
|
|
|
2015-10-15 14:01:53 -04:00
|
|
|
(scroll-bar-mode -1) ; no scrollbar
|
|
|
|
(tool-bar-mode -1) ; no toolbar
|
|
|
|
(menu-bar-mode -1) ; no menubar
|
2015-04-22 20:48:28 -04:00
|
|
|
|
2015-10-15 14:01:53 -04:00
|
|
|
(defconst narf-default-font (font-spec :family "terminus (ttf)" :size 12 :antialias nil))
|
|
|
|
(defconst narf-big-font (font-spec :family "Ubuntu Mono" :size 18 :antialias t))
|
|
|
|
(load (concat user-emacs-directory "init-load-path.el"))
|
|
|
|
(load-theme (if window-system 'narf-dark 'wombat) t)
|
2014-11-29 20:21:03 -05:00
|
|
|
|
2015-10-15 14:01:53 -04:00
|
|
|
(set-frame-parameter nil 'fullscreen 'fullboth)
|
2015-04-22 20:48:28 -04:00
|
|
|
|
2015-10-15 14:01:53 -04:00
|
|
|
(mapc 'require
|
|
|
|
`(core ; core/core.el
|
|
|
|
,(cond (IS-MAC 'core-os-osx)
|
|
|
|
(IS-LINUX 'core-os-linux)
|
|
|
|
(IS-WINDOWS 'core-os-win32))
|
2015-06-15 09:06:10 +02:00
|
|
|
|
2015-10-15 14:01:53 -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
|
|
|
|
core-quickrun ; run code, run.
|
|
|
|
core-workgroups ; cure Emacs alzheimers
|
2014-09-20 16:54:04 -04:00
|
|
|
|
2015-10-15 14:01:53 -04:00
|
|
|
module-cc ; c/c++/obj-c madness
|
|
|
|
;; module-crystal ; ruby at the speed of c
|
|
|
|
module-csharp ; unity, .NET, and mono shenanigans
|
|
|
|
module-data ; dbs 'n data formats
|
|
|
|
module-elisp ; drowning in parentheses
|
|
|
|
module-eshell ; eshell (on windows)
|
|
|
|
module-go ; a hipster dialect
|
|
|
|
module-java ; the poster child for carpal tunnel syndome
|
|
|
|
module-js ; alert("not java, javascript!")
|
|
|
|
module-lb6 ; LaunchBar 6 development
|
|
|
|
module-lua ; one-based indices? one-based indices.
|
|
|
|
module-markdown ; markdown
|
|
|
|
module-org ; for fearless [organized] leader
|
|
|
|
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-rust ; Fe2O3
|
|
|
|
module-sh ; she sells Z-shells by the C shore
|
|
|
|
module-swift ; yay, emoji variables!
|
|
|
|
module-vim ; the confessional
|
|
|
|
module-web ; for the 2.0'er
|
|
|
|
|
|
|
|
my-bindings
|
|
|
|
my-commands
|
|
|
|
))
|
|
|
|
|
|
|
|
(narf-init)
|
2015-09-30 13:47:57 -04:00
|
|
|
|
2015-06-06 06:40:33 -04:00
|
|
|
;;; I think so Brain...
|