summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/elisp/el-get-setup.el40
-rw-r--r--emacs/init.el28
2 files changed, 28 insertions, 40 deletions
diff --git a/emacs/elisp/el-get-setup.el b/emacs/elisp/el-get-setup.el
deleted file mode 100644
index 53f3a462..00000000
--- a/emacs/elisp/el-get-setup.el
+++ /dev/null
@@ -1,40 +0,0 @@
-(setq
- eg:basic-packages
- '(
-   auto-compile
-   auto-indent-mode
-   autopair
-   ace-jump-mode
-   bind-key
-   company
-   dired+
-   diminish
-   expand-region
-   helm
-   help+
-   help-fns+
-   help-macro+
-   help-mode+
-   mic-paren
-   misc-cmds
-   multiple-cursors
-   projectile
-   project-persist
-   paredit
-   solarized-theme
-   smart-tab
-   smarttabs
-   smex
-   undo-tree
-   use-package
-   )
-
- eg:windows-packages
- '(ntcmd
-   w32-browser
-   ;; powershell
-   ;; powershell-mode
-   )
-
- eg:cygwin-packages
- '(windows-path))
diff --git a/emacs/init.el b/emacs/init.el
index 4716c595..dbce9d9b 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -21,6 +21,34 @@
 
 (add-to-list 'load-path *elisp-dir*)
 
+(mapc (lambda (package-name)
+        (unless (package-installed-p package-name)
+          (package-install package-name)))
+      '(auto-compile
+        auto-indent-mode
+        autopair
+        ace-jump-mode
+        bind-key
+        company
+        dired+
+        diminish
+        expand-region
+        helm
+        nginx-mode
+        mic-paren
+        multiple-cursors
+        mustache-mode
+        projectile
+        project-persist
+        paredit
+        solarized-theme
+        smart-tab
+        smart-tabs-mode
+        smex
+        undo-tree
+        use-package
+        ))
+
 (require 'use-package)
 
 (eval-when-compile