doomemacs/init.el

70 lines
2.2 KiB
EmacsLisp
Raw Normal View History

;;; Emacs for the jaded vimmer
2014-07-15 14:21:56 +08:00
;;
;; Author: Henrik Lissner <henrik@lissner>
;; URL: https://github.com/hlissner/emacs.d
;;
2014-09-21 04:54:04 +08:00
;; My emacs.d, which sets out to rustle emacs users' jimmies by making
;; emacs as vim-like as possible.
2014-07-16 15:28:06 +08:00
;;
;;; Code:
2014-07-15 14:21:56 +08:00
2014-09-21 04:54:04 +08:00
;; instead of /
(cd "~")
;; (setq use-package-verbose t) ; for debug purposes
2014-08-30 10:37:25 +08:00
(require 'cask)
(cask-initialize)
2014-09-06 05:08:40 +08:00
(defconst *dir (file-name-directory load-file-name))
2014-09-21 04:54:04 +08:00
(defconst *init-dir (concat *dir "init/"))
(defconst *themes-dir (concat *dir "themes/"))
(defconst *elisp-dir (concat *dir "elisp/"))
(defconst *snippets-dir (concat *dir "snippets/"))
(defconst *ac-dicts-dir (concat *dir "ac-dict"))
(defconst *tmp-dir "/tmp/emacs/")
2014-07-15 14:21:56 +08:00
2014-09-06 05:08:40 +08:00
(defconst *theme 'brin)
(defconst *font "Inconsolata-16")
2014-07-15 14:21:56 +08:00
2014-09-06 05:08:40 +08:00
(add-to-list 'load-path *init-dir)
2014-07-15 14:21:56 +08:00
2014-09-21 04:54:04 +08:00
;; Just the... bear necessities...
2014-08-08 06:35:22 +08:00
(mapc 'require
2014-09-21 04:54:04 +08:00
'(core
my-defuns ; Personal library
2014-07-15 14:21:56 +08:00
2014-09-21 04:54:04 +08:00
;; Tailoring emacs
core-editor ; Internal config for global editor behavior
core-ui ; User interface layout & behavior
core-osx ; Mac-specific config
2014-09-06 05:08:40 +08:00
2014-09-21 04:54:04 +08:00
;; Plugins & modules
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 & spell checker
2014-08-10 07:25:06 +08:00
2014-09-21 04:54:04 +08:00
;; Modes & environments
init-text ; Plain text editing (markdown, text)
init-org ; Org-mode: personal gtd/notes
init-dev ; Generic dev tools & environment for all programming
2014-09-06 05:08:40 +08:00
init-ruby
init-python
2014-09-21 04:54:04 +08:00
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
my-settings ; Any other custom settings
my-commands ; Interactive defuns & evil operators/commands
my-keymaps ; My keybindings
))
2014-09-21 04:54:04 +08:00
(require 'server)
(unless (server-running-p) (server-start))
;; I've created a monster!