-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
49 lines (44 loc) · 2.71 KB
/
init.el
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
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
;;; init.el --- Where all the magic begins
;;
;; This file loads Org-mode and then loads the rest of our Emacs initialization from Emacs lisp
;; embedded in literate Org-mode files.
;; Load up Org Mode and Org Babel for elisp embedded in Org Mode files
(setq dotfiles-dir (file-name-directory (or (buffer-file-name) load-file-name)))
(let* ((org-dir (expand-file-name
"lisp" (expand-file-name
"org" (expand-file-name
"src" dotfiles-dir))))
(org-contrib-dir (expand-file-name
"lisp" (expand-file-name
"contrib" (expand-file-name
".." org-dir))))
(load-path (append (list org-dir org-contrib-dir)
(or load-path nil))))
;; load up Org-mode and Org-babel
(require 'org-install)
(require 'ob-tangle))
;; load up all literate org-mode files in this directory
(mapc #'org-babel-load-file (directory-files dotfiles-dir t "\\.org$"))
;;; init.el ends here
(put 'upcase-region 'disabled nil)
(put 'downcase-region 'disabled nil)
(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 yaml-mode web-mode undo-tree twittering-mode sr-speedbar soothe-theme seeing-is-believing ruby-tools ruby-refactor ruby-end ruby-electric rspec-mode robe rinari rhtml-mode rbenv projectile-rails project-explorer powerline php-mode php+-mode password-generator parse-csv org-screenshot org-present org-plus-contrib ob-restclient nyan-prompt nyan-mode neotree multiple-cursors multi-term mode-icons minitest markdown-mode magit json-mode js2-mode helm-robe helm-projectile helm-ag haml-mode folding fold-this flymake-ruby flymake-php flymake-json flymake-haml expand-region ess enh-ruby-mode dracula-theme dash-at-point csv-mode company coffee-mode cider calfw bundler browse-kill-ring ace-jump-mode ace-jump-buffer ac-inf-ruby ac-html-csswatcher ac-html-bootstrap ac-html))))
(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 'narrow-to-region 'disabled nil)