-
Notifications
You must be signed in to change notification settings - Fork 59
/
packages.el
55 lines (49 loc) · 1.61 KB
/
packages.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
50
51
52
53
54
55
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;; Package manager
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'cl)
(require 'package)
(setq package-archives
'(("elpy" . "http://jorgenschaefer.github.io/packages/")
("org" . "http://orgmode.org/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")
("melpa-stable" . "http://melpa-stable.milkbox.net/packages/")
("melpa" . "http://melpa.org/packages/")))
(setq package-user-dir (expand-file-name "elpa" starter-kit-dir))
(package-initialize)
(defvar starter-kit-packages
(list
'org-plus-contrib
'flx-ido 'ido-ubiquitous 'smex
'dired-details 'dired-details+
'yasnippet
'magit
'auctex 'reftex
'undo-tree
'diminish 'nlinum
'eimp
'lispy 'projectile 'helm-projectile
'elpy 'pydoc 'python-mode 'ob-ipython
'jedi 'jedi-direx
'helm 'helm-themes 'helm-bibtex
'f ; file functions https://github.com/rejeep/f.el
's ; string functions
'dash ; list functions
'ht ; hash functions
'rainbow-mode
'ace-jump-mode 'ace-isearch
'use-package
'hydra 'key-chord
'git-timemachine 'git-messenger
'button-lock 'bookmark+
'elfeed
'aggressive-indent
)
"Libraries that should be installed by default.")
(unless (every #'package-installed-p starter-kit-packages)
(package-refresh-contents)
(dolist (package starter-kit-packages)
(unless (package-installed-p package)
(message "installing %s" package)
(package-install package))))
(provide 'packages)