Refactor initfiles
This commit is contained in:
parent
6b094920bd
commit
f2e2f05742
34 changed files with 1161 additions and 860 deletions
48
init.el
48
init.el
|
@ -19,38 +19,46 @@
|
|||
(unless (server-running-p) (server-start)))
|
||||
|
||||
;; Global vars
|
||||
(defconst my/dir (file-name-directory load-file-name))
|
||||
(defconst my/init-dir (expand-file-name "init" my/dir))
|
||||
(defconst my/themes-dir (expand-file-name "themes" my/dir))
|
||||
(defconst my/elisp-dir (expand-file-name "elisp" my/dir))
|
||||
(defconst my/tmp-dir (expand-file-name "tmp" my/dir))
|
||||
(defconst my/snippets-dir (expand-file-name "snippets" my/dir))
|
||||
(defconst *dir (file-name-directory load-file-name))
|
||||
(defconst *init-dir (expand-file-name "init" *dir))
|
||||
(defconst *themes-dir (expand-file-name "themes" *dir))
|
||||
(defconst *elisp-dir (expand-file-name "elisp" *dir))
|
||||
(defconst *snippets-dir (expand-file-name "snippets" *dir))
|
||||
(defconst *ac-dicts-dir (expand-file-name "ac-dict" *dir))
|
||||
|
||||
(defconst my/theme 'brin)
|
||||
(defconst my/font "Inconsolata-14")
|
||||
;; (defconst my/font "Ubuntu-Mono-16")
|
||||
(defconst *theme 'brin)
|
||||
(defconst *font "Inconsolata-16")
|
||||
;; (defconst my/font "Ubuntu-Mono-15")
|
||||
|
||||
(add-to-list 'load-path my/init-dir)
|
||||
(add-to-list 'load-path *init-dir)
|
||||
|
||||
(mapc 'require
|
||||
'(core ; Just the... bear necessities...
|
||||
|
||||
;;; These are implicitly loaded from core.el, leave them commented!
|
||||
;; core-editor ; Internal config for global editor behavior
|
||||
;; core-ui ; User interface layout & behavior
|
||||
;; core-osx ; Mac-specific config
|
||||
;; my-keymaps ; My keybindings (loaded on after-init-hook)
|
||||
|
||||
my-defuns ; Personal functions
|
||||
|
||||
;; Modules to improve on emacs' heresy
|
||||
init-ido ; Ido setup
|
||||
init-project ; Project navigation tools & settings
|
||||
init-ac ; Auto-complete engine & settings
|
||||
init-snippets ; Snippet engine
|
||||
init-git ; GIT tools/settings
|
||||
init-fly ; Syntax and spell checker
|
||||
|
||||
mod-text ; Plain text editing (markdown, text)
|
||||
mod-org ; Org-mode: personal gtd/notes
|
||||
mod-dev ; Generic environment for all programming
|
||||
mod-webdev ; Environment for webdev (SCSS, PHP, Rails, Jekyll)
|
||||
mod-love ; Love.app gamedev
|
||||
mod-cpp ; C++ gamedev
|
||||
mod-eclim ; Integration into eclipse (for Java)
|
||||
mod-csharp ; Emacs as a Csharp/Unity IDE
|
||||
;; mod-collab ; For collab programming
|
||||
init-text ; Plain text editing (markdown, text)
|
||||
init-org ; Org-mode: personal gtd/notes
|
||||
init-dev ; Generic environment for all programming
|
||||
init-ruby
|
||||
init-python
|
||||
init-webdev ; Environment for webdev (SCSS, PHP, Rails, Jekyll)
|
||||
init-love ; Love.app gamedev
|
||||
init-cpp ; C++ gamedev
|
||||
init-eclim ; Integration into eclipse (for Java)
|
||||
init-csharp ; Emacs as a Csharp/Unity IDE
|
||||
;; init-collab ; For collab programming
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue