doomemacs/init.el
2014-08-09 19:25:06 -04:00

52 lines
1.7 KiB
EmacsLisp

;;; Emacs for the jaded vimmer
;;
;; Author: Henrik Lissner <henrik@lissner>
;; URL: https://github.com/hlissner/emacs.d
;;
;; These settings set up a very vim-like experience, with some of emacs goodness
;; squeezed into the cracks.
;;
;;; Code:
(cd "~") ; Default directory, instead of /
;; (setq use-package-verbose t)
(server-mode t)
(unless (server-running-p) (server-start))
(when window-system (desktop-save-mode 1))
;; 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 my/theme 'brin)
(defconst my/font "Inconsolata-14")
(add-to-list 'load-path my/init-dir)
(mapc 'require
'(core ; Just the... bear necessities...
my-defuns
;; Modules to improve on emacs' heresy
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
))