-
Notifications
You must be signed in to change notification settings - Fork 1
/
packages.el
58 lines (53 loc) · 1.07 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
56
57
58
(defvar repositories
'(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")))
(defvar packages
'(darcula-theme
use-package
diminish
undo-tree
all-the-icons
find-file-in-project
neotree
tabbar
popwin
dumb-jump
clojure-mode
cider
clj-refactor
ac-cider
company
ivy
markdown-mode
yaml-mode
web-mode
vagrant-tramp
ag
python-mode
jedi-core
company-jedi
virtualenvwrapper
auto-virtualenvwrapper
queue
terraform-mode
company-terraform
rust-mode
ansible-vault
dockerfile-mode
docker-compose-mode
kubernetes))
;; リポジトリの設定
(require 'package)
(setq package-enable-at-startup nil)
(dolist (repo repositories)
(add-to-list 'package-archives repo t))
(defun auto-install ()
(dolist (package packages)
(unless (package-installed-p package)
(package-install package))))
(auto-install)
;; use-package を有効化
(eval-when-compile
(require 'use-package))
(require 'diminish)
(require 'bind-key)