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-08-29 22:37:25 -04:00
|
|
|
;; These settings set up a vim-like experience, with some of emacs
|
|
|
|
;; goodness squeezed into the cracks.
|
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-08-07 18:35:22 -04:00
|
|
|
(cd "~") ; Default directory, instead of /
|
|
|
|
;; (setq use-package-verbose t)
|
2014-07-17 02:59:23 -04:00
|
|
|
|
2014-08-29 22:37:25 -04:00
|
|
|
(require 'cask)
|
|
|
|
(cask-initialize)
|
|
|
|
|
|
|
|
(when window-system
|
|
|
|
(server-mode t)
|
|
|
|
(unless (server-running-p) (server-start)))
|
2014-07-15 02:21:56 -04:00
|
|
|
|
|
|
|
;; Global vars
|
2014-09-05 17:08:40 -04:00
|
|
|
(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))
|
2014-07-15 02:21:56 -04:00
|
|
|
|
2014-09-05 17:08:40 -04:00
|
|
|
(defconst *theme 'brin)
|
|
|
|
(defconst *font "Inconsolata-16")
|
|
|
|
;; (defconst my/font "Ubuntu-Mono-15")
|
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-08-07 18:35:22 -04:00
|
|
|
(mapc 'require
|
|
|
|
'(core ; Just the... bear necessities...
|
2014-07-15 02:21:56 -04:00
|
|
|
|
2014-09-05 17:08:40 -04:00
|
|
|
;;; 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)
|
|
|
|
|
2014-08-10 03:15:16 -04:00
|
|
|
my-defuns ; Personal functions
|
2014-08-09 19:25:06 -04:00
|
|
|
|
2014-08-07 19:50:33 -04:00
|
|
|
;; Modules to improve on emacs' heresy
|
2014-09-05 17:08:40 -04:00
|
|
|
init-ido ; Ido setup
|
2014-08-07 18:35:22 -04:00
|
|
|
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
|
2014-09-05 17:08:40 -04:00
|
|
|
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
|
2014-08-07 19:50:33 -04:00
|
|
|
))
|