2012-08-18 13:24:55 +10:00
|
|
|
(require 'package)
|
|
|
|
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t)
|
|
|
|
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
|
|
|
|
(package-initialize)
|
|
|
|
|
|
|
|
(when (not package-archive-contents)
|
|
|
|
(package-refresh-contents))
|
|
|
|
|
|
|
|
;; Add in your own as you wish:
|
|
|
|
(defvar my-packages '(starter-kit
|
|
|
|
starter-kit-ruby
|
|
|
|
starter-kit-lisp
|
|
|
|
starter-kit-eshell
|
|
|
|
starter-kit-js
|
|
|
|
clojure-mode
|
|
|
|
clojure-project-mode
|
|
|
|
color-theme
|
|
|
|
color-theme-molokai
|
2012-08-28 04:30:01 +10:00
|
|
|
rainbow-delimiters
|
2012-08-18 13:24:55 +10:00
|
|
|
ctags
|
|
|
|
paredit
|
|
|
|
undo-tree
|
|
|
|
org
|
|
|
|
evil)
|
|
|
|
"A list of packages to ensure are installed at launch.")
|
|
|
|
|
|
|
|
(dolist (p my-packages)
|
|
|
|
(when (not (package-installed-p p))
|
|
|
|
(package-install p)))
|