-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.emacs
67 lines (57 loc) · 2.01 KB
/
.emacs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
;;A work in progress
;;Licensed under the Motherfucking Software License
;;pookleblinky AT gmail DOT com
(package-initialize)
(require 'cl)
(require 'evil)
(require 'key-chord)
(require 'org)
(require 'helm-config)
(require 'powerline)
(require 'powerline-evil)
(require 'yasnippet)
(helm-mode 1)
(yas/global-mode 1)
(defvar emacs-root "/home/pook/")
(add-to-list 'load-path (concat emacs-root "emacs"))
(labels ((add-path (p)
(add-to-list 'load-path
(concat emacs-root p))))
(add-path "emacs/lisp") ; personal elisp
(add-path "slime")) ; Slime (from git)
(load-library "funcs") ; My functions
(load-library "repos") ; My repos
(load-library ".custom") ; customizations
(load-library "ekeys") ; keybindings
(load-library "my-aliases") ; aliases
(load-library "web") ; w3m
(load-library "org") ; org-mode
;; Org mode
;; Too much duplication. Concat dirs at some point
(setq org-directory "~/org")
(setq org-agenda-files (list
"~/org/code.org"
"~/org/blog.org"
"~/org/workout.org"
"~/org/orgfile.org"))
(setq org-default-notes-file "~/org/orgfile.org")
;; Yasnippet
(setq yas/root-directory (list
"~/emacs/snippets"
"~/emacs/yasnippet-snippets"))
(yas/initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
(quote
(yasnippet-bundle powerline-evil powerline helm markdown-mode+ markdown-mode w3m alchemist clojure-project-mode erlang elixir-mode key-chord evil paredit geiser yaml-mode color-theme-solarized color-theme ruby-mode macrostep haskell-mode clojure-mode-extra-font-locking cider))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(put 'upcase-region 'disabled nil)