Added theme stuff.

This commit is contained in:
Ivan Malison 2013-03-16 20:09:42 -07:00
parent 36fcc48477
commit 3110354532
9 changed files with 15247 additions and 11 deletions

5
.gitmodules vendored
View File

@ -9,4 +9,7 @@
url = git@github.com:jlr/rainbow-delimiters.git
[submodule "lisp/multi-line-it"]
path = lisp/multi-line-it
url = git@github.com:IvanMalison/multi-line-it.git
url = git@github.com:IvanMalison/multi-line-it.git
[submodule "themes/zenburn"]
path = themes/zenburn
url = https://github.com/bbatsov/zenburn-emacs

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,18 @@
;;; color-theme-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
;;;### (autoloads nil nil ("color-theme-pkg.el" "color-theme.el")
;;;;;; (20805 11467 185491))
;;;***
(provide 'color-theme-autoloads)
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; coding: utf-8
;; End:
;;; color-theme-autoloads.el ends here

View File

@ -0,0 +1 @@
(define-package "color-theme" "6.5.5" "install color themes" (quote nil))

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

61
init.el
View File

@ -18,6 +18,8 @@
(let ((default-directory "~/.emacs.d/elpa/"))
(normal-top-level-add-subdirs-to-load-path))
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/zenburn")
;; =============================================================================
;; General Emacs Options
;; =============================================================================
@ -52,8 +54,6 @@
(setq c-subword-mode t)
(require 'package)
(require 'whitespace)
(require 'rainbow-delimiters)
;; =============================================================================
;; Flymake
@ -62,11 +62,6 @@
(require 'flymake)
(require 'flymake-cursor)
;; Customize flymake colors.
(custom-set-faces
'(flymake-errline ((((class color)) (:background "DarkViolet"))))
'(flymake-warnline ((((class color)) (:underline "Orange")))))
(defun flymake-pylint-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))
@ -102,7 +97,7 @@
;; Rope
(pymacs-load "ropemacs" "rope-")
(defun yelp-tabs ()
(defun python-tabs ()
(setq tab-width 4,
indent-tabs-mode t
py-smart-indentation nil
@ -135,5 +130,53 @@
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))
'("marmalade" . "http://marmalade-repo.org/packages/"))
(package-initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes (quote ("36a309985a0f9ed1a0c3a69625802f87dee940767c9e200b89cdebdb737e5b29" default))))
;; =============================================================================
;; elisp Helpers
;; =============================================================================
(defun plist-to-alist (the-plist)
(defun get-tuple-from-plist (the-plist)
(when the-plist
(cons (car the-plist) (cadr the-plist))))
(let ((alist '()))
(while the-plist
(add-to-list 'alist (get-tuple-from-plist the-plist))
(setq the-plist (cddr the-plist)))
alist))
;; =============================================================================
;; Appearance
;; =============================================================================
(require 'color-theme)
(require 'whitespace)
(require 'rainbow-delimiters)
;; Customize font-faces
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(flymake-errline ((((class color)) (:background "DarkViolet"))))
'(flymake-warnline ((((class color)) (:underline "Orange"))))
'(rainbow-delimiters-depth-1-face ((t (:foreground "green"))))
'(rainbow-delimiters-depth-2-face ((t (:foreground "blue"))))
'(rainbow-delimiters-depth-3-face ((t (:foreground "magenta"))))
'(rainbow-delimiters-depth-4-face ((t (:foreground "yellow"))))
'(rainbow-delimiters-depth-5-face ((t (:foreground "cyan"))))
'(rainbow-delimiters-depth-7-face ((t (:foreground "blue"))))
'(rainbow-delimiters-depth-8-face ((t (:foreground "yellow"))))
'(rainbow-delimiters-depth-9-face ((t (:foreground "magenta")))))

1
themes/zenburn Submodule

@ -0,0 +1 @@
Subproject commit 2315e850aaee6b1e9bb16ea232723e5534e77a37