This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/packages.el

135 lines
2.9 KiB
EmacsLisp
Raw Normal View History

2012-12-18 05:48:12 +00:00
(require 'package)
(setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
2013-06-04 21:09:53 +00:00
("melpa" . "http://melpa.milkbox.net/packages/")))
2012-12-18 05:48:12 +00:00
(package-initialize)
(defvar syl:packages
2012-12-18 05:48:12 +00:00
'(
2013-11-25 05:19:04 +00:00
ac-ispell
ace-jump-mode
2013-12-02 13:40:12 +00:00
ample-theme
anti-zenburn-theme
auto-complete
2013-09-18 03:20:11 +00:00
auto-complete-clang
2013-01-24 01:03:18 +00:00
auto-dictionary
buffer-move
2013-09-17 05:04:34 +00:00
cc-mode
2013-05-22 15:37:32 +00:00
cmake-mode
color-moccur
2013-05-06 19:08:14 +00:00
csharp-mode
2013-04-25 15:58:12 +00:00
dash
2013-02-20 00:56:52 +00:00
deft
deferred
diminish
2013-03-19 03:23:54 +00:00
dired+
elisp-slime-nav
elixir-mix
elixir-mode
epc
2013-01-04 21:20:15 +00:00
erc
2012-12-18 05:48:12 +00:00
erlang
evil
2014-04-11 22:47:14 +00:00
evil-exchange
2013-01-07 06:51:44 +00:00
evil-leader
2013-12-11 15:01:41 +00:00
evil-matchit
evil-visualstar
expand-region
fill-column-indicator
2013-11-06 03:53:50 +00:00
flx-ido
flycheck
flycheck-color-mode-line
flyspell
2013-07-23 03:08:26 +00:00
fringe-helper
2013-12-01 04:45:38 +00:00
gist
2013-07-23 03:08:26 +00:00
git-gutter-fringe
2014-04-11 22:26:28 +00:00
git-messenger
2013-01-14 04:12:05 +00:00
ghc
golden-ratio
2013-04-22 00:59:26 +00:00
google-translate
2013-01-14 04:12:05 +00:00
haskell-mode
2013-03-14 04:40:23 +00:00
helm
2013-12-12 03:15:34 +00:00
helm-css-scss
2013-03-14 04:40:23 +00:00
helm-c-yasnippet
helm-helm-commands
2013-12-12 03:15:34 +00:00
helm-descbinds
helm-make
helm-mode-manager
;; not working for now
;; helm-proc
2013-03-14 04:40:23 +00:00
helm-projectile
2013-12-12 03:08:48 +00:00
helm-swoop
2013-11-30 02:19:45 +00:00
helm-themes
2014-04-11 22:32:52 +00:00
howdoi
2013-11-16 00:20:45 +00:00
hy-mode
2013-11-06 03:54:27 +00:00
ido-vertical-mode
jedi
json-mode
2013-03-13 04:11:01 +00:00
less-css-mode
magit
markdown-mode
2013-12-02 13:11:48 +00:00
monokai-theme
2013-01-04 16:33:17 +00:00
move-text
multi-term
2013-01-03 06:53:00 +00:00
org
2013-09-10 03:48:01 +00:00
org-bullets
org-trello
2013-04-29 19:47:31 +00:00
p4
2013-04-23 02:14:23 +00:00
page-break-lines
paredit
popup
popwin
2014-04-12 01:35:56 +00:00
;; not needed anymore ?
;; pretty-symbols-mode
2013-01-12 16:58:50 +00:00
projectile
puppet-mode
python
2013-03-15 03:04:57 +00:00
quickrun
2014-04-12 01:35:56 +00:00
;; not working well for now
;; rainbow-blocks
rainbow-mode
2012-12-18 05:48:12 +00:00
rainbow-delimiters
rainbow-identifiers
2013-01-28 17:29:17 +00:00
recentf
2013-01-16 13:06:57 +00:00
rfringe
ruby-end
2013-04-22 20:33:10 +00:00
ruby-mode
ruby-test-mode
2013-04-25 15:58:12 +00:00
s
smartparens
string-edit
stripe-buffer
subword
2012-12-18 05:48:12 +00:00
surround
2013-03-13 04:11:01 +00:00
tagedit
2013-01-05 22:15:42 +00:00
twittering-mode
visual-regexp-steroids
2013-11-18 06:06:38 +00:00
volatile-highlights
wand
2013-03-13 04:11:01 +00:00
wdired
yasnippet
2013-11-30 02:26:22 +00:00
zenburn-theme
2012-12-18 05:48:12 +00:00
))
;;; install missing packages
(let ((not-installed (remove-if 'package-installed-p syl:packages)))
2012-12-18 05:48:12 +00:00
(if not-installed
(if (y-or-n-p (format "there are %d packages to be installed. install them? " (length not-installed)))
(progn (package-refresh-contents)
(dolist (package syl:packages)
2012-12-18 05:48:12 +00:00
(when (not (package-installed-p package))
(package-install package)))))))
;;; initialize packages
2013-01-06 07:38:25 +00:00
(setq syl:package-init-dir (concat user-emacs-directory "init-package/"))
2012-12-18 05:48:12 +00:00
(dolist (package (append (mapcar 'car package--builtins) package-activated-list))
2013-01-06 07:38:25 +00:00
(let* ((initfile (concat syl:package-init-dir (format "init-%s.el" package))))
2012-12-18 05:48:12 +00:00
(if (and (package-installed-p package)
(file-exists-p initfile))
(load initfile))))
2012-12-18 05:48:12 +00:00
(when (memq window-system '(mac ns))
(exec-path-from-shell-initialize))
(provide 'packages)