Created
November 5, 2013 14:31
-
-
Save lamdor/7319871 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; expand-region, mark-multiple, enclose, wrap-region, scala-mode2 | |
| (defun load-init (name) | |
| (load-file (concat user-emacs-directory "/init/init-" name ".el"))) | |
| (defun package-install-with-init (name) | |
| (when (not (package-installed-p name)) | |
| (package-install name)) | |
| (require name) | |
| (load-init (symbol-name name))) | |
| (require 'package) | |
| (package-initialize) | |
| (add-to-list 'package-archives | |
| '("melpa" . "http://melpa.milkbox.net/packages/") t) | |
| (package-refresh-contents) | |
| (package-install-with-init 'diminish) | |
| (package-install-with-init 'expand-region) | |
| (package-install-with-init 'paredit) | |
| (package-install-with-init 'enclose) | |
| (package-install-with-init 'wrap-region) | |
| (package-install-with-init 'scala-mode2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment