-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit-packages.el
63 lines (57 loc) · 1.93 KB
/
init-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
56
57
58
59
60
61
62
63
; list the packages you want
(setq package-list '(;;better-defaults ;; no longer available?
ggtags
popup
;; auto-complete
fuzzy
helm
magit
org
undo-tree
multiple-cursors
adaptive-wrap
openwith
;;dired+ ;; no longer available?
;;image-dired+ ;; no longer available?
projectile
python
smex
helm-projectile
ac-helm
winner
git-gutter+
git-gutter-fringe+
undo-tree
diminish
flx
s
cl
auto-complete-rst
company
company-flx
vhdl-capf
god-mode
c-eldoc
f
fill-column-indicator
dired-narrow
org-plus-contrib
pdf-tools
mu4e-alert
jupyter))
;; org-plus-contrib))
; list the repositories containing them
(setq package-archives '(("elpa" . "http://tromey.com/elpa/")
("org" . "http://orgmode.org/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
; activate all the packages (in particular autoloads)
(package-initialize)
; fetch the list of packages available
(unless package-archive-contents
(package-refresh-contents))
; install the missing packages
(dolist (package package-list)
(unless (package-installed-p package)
(package-install package)))