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-08-13 00:25:54 -04:00
|
|
|
(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))
|
2014-07-15 02:21:56 -04:00
|
|
|
|
2014-08-10 03:15:16 -04:00
|
|
|
(defconst my/theme 'brin)
|
|
|
|
(defconst my/font "Inconsolata-14")
|
2014-08-29 22:37:25 -04:00
|
|
|
;; (defconst my/font "Ubuntu-Mono-16")
|
2014-07-15 02:21:56 -04:00
|
|
|
|
2014-08-07 18:35:22 -04:00
|
|
|
(add-to-list 'load-path my/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-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-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
|
|
|
|
|
|
|
|
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)
|
2014-08-07 19:50:33 -04:00
|
|
|
mod-love ; Love.app gamedev
|
|
|
|
mod-cpp ; C++ gamedev
|
2014-08-09 19:25:06 -04:00
|
|
|
mod-eclim ; Integration into eclipse (for Java)
|
|
|
|
mod-csharp ; Emacs as a Csharp/Unity IDE
|
2014-08-21 03:33:30 -04:00
|
|
|
;; mod-collab ; For collab programming
|
2014-08-07 19:50:33 -04:00
|
|
|
))
|