Skip to content

Instantly share code, notes, and snippets.

@mijoharas
Created December 2, 2013 22:57
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 mijoharas/7760610 to your computer and use it in GitHub Desktop.
Save mijoharas/7760610 to your computer and use it in GitHub Desktop.
emacs
; list the packages you want
; (setq package-list '(auto-complete
; auto-complete-clang
; auto-indent-mode
; evil
; flycheck
; magit
; molokai-theme
; org
; smex
; undo-tree
; yasnippet))
; list the repositories containing them
(setq package-archives '(("melpa" . "http://melpa.milkbox.net/packages/")
("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")))
; activate all the packages (in particular autoloads)
(package-initialize)
; fetch the list of packages available
(when (not package-archive-contents)
(package-refresh-contents))
; install the missing packages
; (dolist (package package-list)
; (when (not (package-installed-p package))
; (package-install package)))
(load-theme 'solarized-dark t)
; evil mode
(require 'evil)
(evil-mode 1)
; tool bar off
(tool-bar-mode -1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment