doomemacs/init.el

79 lines
2.9 KiB
EmacsLisp
Raw Normal View History

;;; 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-12-10 15:54:36 -05:00
;;; Description:
;;
2015-05-28 22:24:43 -04:00
;; My emacs.d sets out to rustle emacs users' jimmies by making emacs as
;; vim-like as possible.
2014-12-05 17:28:03 -05:00
;;
;;; Code:
(defconst DEBUG-MODE nil)
(defconst my-dir user-emacs-directory)
(defconst my-modules-dir (concat my-dir "init/"))
(defconst my-contrib-dir (concat my-dir "contrib/"))
(defconst my-themes-dir (concat my-dir "themes/"))
(defconst my-snippets-dir (concat my-dir "snippets/"))
2015-05-28 22:24:43 -04:00
(defconst my-tmp-dir (concat my-dir ".cache-" (system-name) "/"))
2014-08-29 22:37:25 -04:00
2015-05-28 22:24:43 -04:00
(defconst *default-theme 'v0)
(defconst *default-font (font-spec :family "Terminus (TTF)" :size 12 :antialias nil))
2014-07-15 02:21:56 -04:00
2015-05-28 22:24:43 -04:00
(add-to-list 'load-path my-modules-dir)
(add-to-list 'load-path my-contrib-dir)
;; Add cask dirs to load-path
(let ((default-directory (expand-file-name (concat ".cask/" emacs-version "/elpa/") my-dir)))
(normal-top-level-add-subdirs-to-load-path))
2015-04-22 20:48:28 -04:00
;;;; Load Packages ;;;;;;;;;;;;;;;;;;;;;
2015-05-09 18:08:12 -04:00
(require 'use-package)
2015-01-09 21:47:51 -05:00
(mapc 'require
;; ls init/{init,my}* | xargs basename | sed -e 's/\..*$//'
'(core
2015-05-07 03:19:24 -04:00
core-ui ; aesthetics
core-evil ; evil-mode and its plugins
core-editor ; completing the editor
2015-05-28 22:24:43 -04:00
init-auto-insert ; for the lazy typist
2015-01-09 21:47:51 -05:00
init-company ; see above
2015-04-22 20:48:28 -04:00
init-fly ; fly(check|spell)
2015-05-28 22:24:43 -04:00
init-vc ; version control gutter + git modes
2015-04-22 20:48:28 -04:00
init-ido ; a search engine for your car keys
2015-05-09 18:08:12 -04:00
init-helm ; a search engine for your life
2015-05-28 22:24:43 -04:00
init-project ; dired, neotree
init-present ; for when I need to show off
2015-04-22 20:48:28 -04:00
2015-01-09 21:47:51 -05:00
init-cc ; C/C++/Obj-C madness
;; init-cscope
init-csharp
;; init-eshell
2015-05-28 22:24:43 -04:00
;; init-go
2015-01-09 21:47:51 -05:00
init-java ; the poster child for carpal tunnel syndome
init-js ; alert("not java, javascript!")
2015-05-09 18:08:12 -04:00
init-lua ; one-based indices? One-based indices.
2015-05-28 22:24:43 -04:00
init-org ; for fearless [organized] leader
2015-01-09 21:47:51 -05:00
init-php ; making php less painful to work with
init-python ; beautiful is better than ugly
init-regex ; /^[^\s](meaning)[^\n]*/
init-ruby ; <3
init-scss ; @include magic;
init-sh ; #!/bin/bash_your_head_in
init-swift ; yay, emoji variables!
init-text ; I got nothing...
init-tmux
;; init-rust
;; init-R
2015-05-28 22:24:43 -04:00
init-web ; For the 2.0'er
init-workgroups ; session management I can understand
2015-01-09 21:47:51 -05:00
init-yasnippet ; type for me
2014-09-20 16:54:04 -04:00
2015-05-07 03:19:24 -04:00
my-defuns
2015-01-09 21:47:51 -05:00
my-bindings
2015-05-07 03:19:24 -04:00
my-commands
2015-01-09 21:47:51 -05:00
my-settings
))
2014-12-05 17:28:03 -05:00
2014-09-20 16:54:04 -04:00
;; I've created a monster!