-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit.el
37 lines (29 loc) · 1010 Bytes
/
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
;;; Packaging
(when (>= emacs-major-version 24)
(require 'package)
(package-initialize)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t))
;;; Additional load paths
(add-to-list 'load-path "~/.emacs.d/lisp")
(add-to-list 'load-path "~/.emacs.d/vendor")
;; local development
(add-to-list 'load-path "~/source/acme-mode")
(load "ui")
(load "buffers")
(load "editing")
(load "modes")
(load "keys")
(load "themes")
;; Save customizations to custom.el, not init.el
;; http://www.gnu.org/s/libtool/manual/emacs/Saving-Customizations.html
(setq custom-file "~/.emacs.d/custom.el")
(when (file-exists-p custom-file) (load custom-file))
(setq frame-title-format
(list '(buffer-file-name "%f" (dired-directory dired-directory "%b"))))
;; dirtree
;; Add dirtree and dependencies to load path
(add-to-list 'load-path "~/.emacs.d/vendor/dirtree")
(require 'dirtree)
;; Don't use images in tree mode
(custom-set-variables '(tree-widget-image-enable nil))