doomemacs/init.el

114 lines
5.3 KiB
EmacsLisp
Raw Normal View History

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
NARF v0.7.0 vcs: + +git-gutter to conf-modes; -git-gutter from evil-insert-state-exit + switch github-browse-file for browse-at-remote + fix <leader>ob; add <leader>d[./sr] vc bindings + vc-annotate bindings and initial state Workgroups2 integration: + don't mess with buffers (speeds up emacs a lot!) + unicode numbers in display + single display function + remember workgroup uid instead (and smarter :tabrename) + clean up after wg update Org-mode + give highlight precedence to links in org-mode + enable encryption + config clean up + use different font for org + exclude attachments in recentf + redo latex and inline-image config + add narf/org-open-notes + update file templates for org CRM Mode-line + polish mode-line + decouple from spaceline-segments.el + refactor narf|spaceline-env-update + add macro-recording and buffer-size indicators to mode-line + python: '2>&1' in env-command + flycheck fringe indicator: change to arrow Aesthetics + update narf-dark-theme + add narf-minibuffer-active face + change writing indicator in writing-mode Misc + fix whitespace in display-startup-echo-area-message + reset fonts for more unicode characters + custom imenu entries + helm-imenu fontification + enable yascroll-bar in REPLs + reorganize my-commands.el + force quit iedit on ESC in normal mode + update snippets submodule + remove ido init (helm handles it all) [EXPERIMENTAL] + back to Terminus(TTF) font + popwin: update config for git-gutter and vc-diff windows + highlight :g[lobal] and :al[ign] matches + decouple narf/get-buffers+narf/get-all-buffers from wg-mess-with-buffer-list + fix narf/helm-buffers-dwim (add interactive form)
2015-12-11 16:51:04 -05:00
;; Version: 0.7.0
2014-07-15 02:21:56 -04: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-10-25 00:39:54 -04:00
(defconst narf-theme 'narf-dark)
NARF v0.7.0 vcs: + +git-gutter to conf-modes; -git-gutter from evil-insert-state-exit + switch github-browse-file for browse-at-remote + fix <leader>ob; add <leader>d[./sr] vc bindings + vc-annotate bindings and initial state Workgroups2 integration: + don't mess with buffers (speeds up emacs a lot!) + unicode numbers in display + single display function + remember workgroup uid instead (and smarter :tabrename) + clean up after wg update Org-mode + give highlight precedence to links in org-mode + enable encryption + config clean up + use different font for org + exclude attachments in recentf + redo latex and inline-image config + add narf/org-open-notes + update file templates for org CRM Mode-line + polish mode-line + decouple from spaceline-segments.el + refactor narf|spaceline-env-update + add macro-recording and buffer-size indicators to mode-line + python: '2>&1' in env-command + flycheck fringe indicator: change to arrow Aesthetics + update narf-dark-theme + add narf-minibuffer-active face + change writing indicator in writing-mode Misc + fix whitespace in display-startup-echo-area-message + reset fonts for more unicode characters + custom imenu entries + helm-imenu fontification + enable yascroll-bar in REPLs + reorganize my-commands.el + force quit iedit on ESC in normal mode + update snippets submodule + remove ido init (helm handles it all) [EXPERIMENTAL] + back to Terminus(TTF) font + popwin: update config for git-gutter and vc-diff windows + highlight :g[lobal] and :al[ign] matches + decouple narf/get-buffers+narf/get-all-buffers from wg-mess-with-buffer-list + fix narf/helm-buffers-dwim (add interactive form)
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)
2015-10-25 00:39:54 -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-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
core-quickrun ; run code, run.
core-workgroups ; cure Emacs alzheimers
2015-06-15 09:06:10 +02:00
2015-12-09 02:03:13 -05:00
;;; Extras
2015-10-25 00:39:54 -04:00
module-cc ; c/c++/obj-c madness
module-csharp ; unity, .NET, and mono shenanigans
module-collab ; wonewy, I'm so wonewy~
module-data ; dbs 'n data formats
2015-11-24 03:44:17 -05:00
module-lisp ; drowning in parentheses
2015-10-25 00:39:54 -04:00
module-go ; a hipster dialect
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-10-25 00:39:54 -04:00
module-lb6 ; LaunchBar 6 development
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-plantuml ; to help show how right I am
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 XOR
module-swift ; yay, emoji variables!
module-vim ; my mistress
module-web ; for the 2.0'er
2015-11-21 18:03:20 -05:00
module-writing ; yes, I write papers and fiction in emacs
2014-09-20 16:54:04 -04:00
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-10-25 00:39:54 -04:00
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...