Created
March 17, 2014 14:27
-
-
Save cordarei/9600170 to your computer and use it in GitHub Desktop.
Emacs init file version 1
This file contains 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
(require 'cl) | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.milkbox.net/packages/") t) | |
(package-initialize) | |
(defun ensure-package (package) | |
(unless (package-installed-p package) | |
(package-refresh-contents) | |
(package-install package))) | |
(setq packages '( | |
evil | |
monokai-theme | |
)) | |
(mapcar 'ensure-package packages) | |
(evil-mode t) | |
(tool-bar-mode -1) | |
(menu-bar-mode -1) | |
(load-theme 'monokai t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See http://cordarei.github.io/blog/2014/03/17/moving-to-emacs-from-vim/