Move bootstrap into init-packages.el

This commit is contained in:
Henrik Lissner
2016-01-27 20:42:11 -05:00
parent 15277fb395
commit d5115262b7
4 changed files with 105 additions and 117 deletions

View File

@@ -11,49 +11,42 @@
(defconst narf-theme 'narf-light)
(defconst narf-default-font (font-spec :family "Hack" :size 14))
(defconst narf-writing-font (font-spec :family "Deja Sans" :size 14))
(set-frame-font narf-default-font)
(let (file-name-handler-alist
(gc-cons-threshold 169715200))
(tool-bar-mode -1) ; no toolbar
(defconst narf-packages
'(core ; core/core.el
(load (concat user-emacs-directory "init-packages.el"))
(load-theme narf-theme t)
(mapc 'require
`(core ; core/core.el
core-popup ; taming stray 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-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-eval ; run code, run.
core-workgroups ; cure Emacs alzheimers
core-popup ; taming stray 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-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-eval ; run code, run.
core-workgroups ; cure Emacs alzheimers
;;; Environments
module-markdown
module-org
module-plantuml
module-markdown
module-org
module-plantuml
;;; Specific custom functionality
;; lib-plugin ; plugin dev for various programs
lib-tmux ; closing the rift between GUI & terminal
lib-demo ; let me demonstrate...
lib-writing ; yes, I write papers and fiction in emacs
;; lib-crm ; emacs and org-mode based CRM
;; lib-plugin ; plugin dev for various programs
lib-tmux ; closing the rift between GUI & terminal
lib-demo ; let me demonstrate...
lib-writing ; yes, I write papers and fiction in emacs
;; lib-crm ; emacs and org-mode based CRM
;;; Key bindings & ex commands
my-bindings
my-commands
))
(narf-init))
my-bindings
my-commands
))
(load (concat user-emacs-directory "init-packages.el"))
(setq wg-session-file (expand-file-name "wg-org-default" narf-temp-dir))
(cd org-directory)