Skip to content

Instantly share code, notes, and snippets.

@cordarei
Created March 17, 2014 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cordarei/9600170 to your computer and use it in GitHub Desktop.
Save cordarei/9600170 to your computer and use it in GitHub Desktop.
Emacs init file version 1
(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)
@cordarei
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment