Permalink
Browse files

update

  • Loading branch information...
hanzhixing committed Jan 17, 2014
1 parent 12d2466 commit d85961b4946b222351da054e7198f642e4687542
Showing with 7 additions and 36 deletions.
  1. +2 −0 .gitignore
  2. +5 −36 init.el
View
@@ -0,0 +1,2 @@
+elpa
+auto-save-list
View
41 init.el
@@ -25,45 +25,14 @@
;;; Tabs
;; Insert spaces instead of tabs. Changes by modes. (TAB = What?)
(setq-default indent-tabs-mode nil)
-(highlight-tabs)
-(highlight-trailing-whitespace)
-;;; Default load-path
-(add-to-list 'load-path "~/.emacs.d/site-lisp")
+;;; Theme
+(load-theme 'wombat)
+(set-cursor-color "yellow")
;;; ELPA. Added, but I prefer download packages manually. Because by this way, it seems more clean.
-;(require 'package)
-;(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
-;(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
-;(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
-
-;;; Evil.
-(add-to-list 'load-path "~/.emacs.d/site-lisp/evil")
-
-;;; Commentary:
-;;
-
-(require 'evil)
-(evil-mode 1)
-
-;;; Color Theme
-(add-to-list 'load-path "~/.emacs.d/site-lisp/tomorrow-theme/GNU Emacs")
-(require 'tomorrow-night-eighties-theme)
-
-;;; nXhtml
-;; Workaround the annoying warnings:
-;; Warning (mumamo-per-buffer-local-vars):
-;; Already 'permanent-local t: buffer-file-name
-(when (and (equal emacs-major-version 24)
- (equal emacs-minor-version 2))
- (eval-after-load "mumamo"
- '(setq mumamo-per-buffer-local-vars
- (delq 'buffer-file-name mumamo-per-buffer-local-vars))))
-(load "~/.emacs.d/site-lisp/nxhtml/autostart.el")
-
-;;; Dired Plus
-(add-to-list 'load-path "~/.emacs.d/site-lisp/dired-plus")
-(require 'dired+)
+(require 'package)
+(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
(provide 'init)

0 comments on commit d85961b

Please sign in to comment.