-
Notifications
You must be signed in to change notification settings - Fork 3
/
packages.el
25 lines (21 loc) · 1.04 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
(require 'package)
(add-to-list 'package-archives
'("melpa-stable" . "http://stable.melpa.org/packages/") t)
;; (add-to-list 'package-archives
;; '("melpa" . "http://melpa.org/packages/") t)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
(defvar my-packages '(dash cider clojure-mode magit smex gist browse-kill-ring
markdown-mode yaml-mode maxframe adoc-mode ido-ubiquitous
auto-complete git-link find-file-in-repository
erc-hl-nicks find-things-fast fold-dwim-org
rainbow-delimiters org yasnippet
better-defaults paredit idle-highlight-mode
find-file-in-project scpaste elisp-slime-nav
go-mode go-playground go-rename go-scratch go-tag go-autocomplete))
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))