commit 54c53ce28be09703fb982e77036dbd02e491789d
parent c48b753094405d78249e244d240f5ae8b0d51060
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 5 Jun 2014 14:38:31 +0200
add MELPA
Diffstat:
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
@@ -12,6 +12,13 @@
;; now either el-get is `require'd already, or have been `load'ed by the
;; el-get installer.
+;; add MELPA
+(when (>= emacs-major-version 24)
+ (require 'package)
+ (package-initialize)
+ (add-to-list 'package-archives '("melpa" .
+ "http://melpa.milkbox.net/packages/") t))
+
;; add some necessary paths when emacs isn't started from shell
(setq exec-path (append exec-path '("$HOME/bin" "/usr/local/bin")))
@@ -98,6 +105,11 @@
"c" (lambda () (interactive)(find-file "~/.emacs.d/init.el"))
"t" (lambda () (interactive)(find-file "~/owncloud/todo.org")))
+;; install with MELPA:
+;; M-x package-refresh-contents
+;; M-x package-install RET evil-tabs
+;(global-evil-tabs-mode t)
+
(require 'powerline)
(powerline-default-theme)
;(powerline-vim-theme)