From 09a27f206951958452a9232ca26a169823c4af1d Mon Sep 17 00:00:00 2001 From: Peng Li Date: Thu, 14 May 2015 20:33:34 +0800 Subject: [PATCH] emacs: change file directories, using init.el instead of .emacs, create config folder for other elisp files --- emacs.d/.gitignore | 9 +++++++++ emacs.d/config/init-color-theme.el | 33 +++++++++++++++++++++++++++++++++ emacs/emacs => emacs.d/init.el | 0 3 files changed, 42 insertions(+) create mode 100644 emacs.d/.gitignore create mode 100644 emacs.d/config/init-color-theme.el rename emacs/emacs => emacs.d/init.el (100%) diff --git a/emacs.d/.gitignore b/emacs.d/.gitignore new file mode 100644 index 0000000..de32b8f --- /dev/null +++ b/emacs.d/.gitignore @@ -0,0 +1,9 @@ +elpa/* +games/* +test/* +vendor/* +el-get/* +auto-save-list/* +ido.* +smex-items +ac-comphist.dat diff --git a/emacs.d/config/init-color-theme.el b/emacs.d/config/init-color-theme.el new file mode 100644 index 0000000..0e4333d --- /dev/null +++ b/emacs.d/config/init-color-theme.el @@ -0,0 +1,33 @@ + +;(load-theme 'tango-dark) + +(require 'color-theme) +(load-theme 'sanityinc-tomorrow-bright t) + +;(require 'moe-theme) +;(moe-dark) + +(add-to-list 'load-path "~/.emacs.d/vendor/emacs-powerline") +(require 'powerline) +;(setq powerline-arrow-shape 'arrow14) ;; best for small fonts + +;(require 'smart-mode-line) +;; These two lines are just examples +;(setq powerline-arrow-shape 'curve) +;(setq powerline-default-separator-dir '(right . left)) +;; These two lines you really need. +;(setq sml/theme 'powerline) +;(sml/setup) +;(if after-init-time (sml/setup) +; (add-hook 'after-init-hook 'sml/setup)) + + +;;--------------------------------------------------------------------------------------- +;; powerline +;; + +;;;;(require 'powerline) +;;;;(powerline-evil-center-color-theme) +;(powerline-evil-vim-color-theme) + +(provide 'init-color-theme) diff --git a/emacs/emacs b/emacs.d/init.el similarity index 100% rename from emacs/emacs rename to emacs.d/init.el -- 2.11.0