2014-07-17 02:59:23 -04:00
|
|
|
;;; Emacs for the jaded vimmer
|
2014-07-15 02:21:56 -04:00
|
|
|
;;
|
|
|
|
;; Author: Henrik Lissner <henrik@lissner>
|
|
|
|
;; URL: https://github.com/hlissner/emacs.d
|
|
|
|
;;
|
2014-09-20 16:54:04 -04:00
|
|
|
;; My emacs.d, which sets out to rustle emacs users' jimmies by making
|
|
|
|
;; emacs as vim-like as possible.
|
2014-07-16 03:28:06 -04:00
|
|
|
;;
|
2014-07-17 02:59:23 -04:00
|
|
|
;;; Code:
|
2014-07-15 02:21:56 -04:00
|
|
|
|
2014-09-20 16:54:04 -04:00
|
|
|
;; instead of /
|
|
|
|
(cd "~")
|
|
|
|
;; (setq use-package-verbose t) ; for debug purposes
|
2014-07-17 02:59:23 -04:00
|
|
|
|
2014-08-29 22:37:25 -04:00
|
|
|
(require 'cask)
|
|
|
|
(cask-initialize)
|
|
|
|
|
2014-09-05 17:08:40 -04:00
|
|
|
(defconst *dir (file-name-directory load-file-name))
|
2014-09-20 16:54:04 -04: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 02:21:56 -04:00
|
|
|
|
2014-09-05 17:08:40 -04:00
|
|
|
(defconst *theme 'brin)
|
|
|
|
(defconst *font "Inconsolata-16")
|
2014-07-15 02:21:56 -04:00
|
|
|
|
2014-09-05 17:08:40 -04:00
|
|
|
(add-to-list 'load-path *init-dir)
|
2014-07-15 02:21:56 -04:00
|
|
|
|
2014-09-20 16:54:04 -04:00
|
|
|
;; Just the... bear necessities...
|
2014-08-07 18:35:22 -04:00
|
|
|
(mapc 'require
|
2014-09-20 16:54:04 -04:00
|
|
|
'(core
|
|
|
|
my-defuns ; Personal library
|
2014-07-15 02:21:56 -04:00
|
|
|
|
2014-09-20 16:54:04 -04:00
|
|
|
;; Tailoring emacs
|
|
|
|
core-editor ; Internal config for global editor behavior
|
|
|
|
core-ui ; User interface layout & behavior
|
|
|
|
core-osx ; Mac-specific config
|
2014-09-05 17:08:40 -04:00
|
|
|
|
2014-09-20 16:54:04 -04: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-09 19:25:06 -04:00
|
|
|
|
2014-09-20 16:54:04 -04: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-05 17:08:40 -04:00
|
|
|
init-ruby
|
|
|
|
init-python
|
2014-09-20 16:54:04 -04: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)
|
2014-09-22 12:02:33 -04:00
|
|
|
;; init-csharp ; Emacs as a Csharp/Unity IDE
|
2014-09-20 16:54:04 -04:00
|
|
|
|
|
|
|
my-settings ; Any other custom settings
|
|
|
|
my-commands ; Interactive defuns & evil operators/commands
|
|
|
|
my-keymaps ; My keybindings
|
2014-08-07 19:50:33 -04:00
|
|
|
))
|
2014-09-20 16:54:04 -04:00
|
|
|
|
2014-09-22 12:02:33 -04:00
|
|
|
;; (require 'server)
|
|
|
|
;; (unless (server-running-p) (server-start))
|
2014-09-20 16:54:04 -04:00
|
|
|
|
|
|
|
;; I've created a monster!
|