summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
Diffstat (limited to '.emacs')
-rw-r--r--.emacs56
1 files changed, 56 insertions, 0 deletions
diff --git a/.emacs b/.emacs
new file mode 100644
index 0000000..7c919a8
--- /dev/null
+++ b/.emacs
@@ -0,0 +1,56 @@
+(add-to-list 'load-path "~/.emacs.d/")
+
+(add-to-list 'load-path "~/.emacs.d/org-7.4/lisp")
+(add-to-list 'load-path "~/.emacs.d/org-7.4/contrib/lisp")
+(add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0")
+
+(require 'org-install)
+(require 'org-checklist)
+
+(require 'color-theme-solarized)
+(color-theme-solarized-dark)
+
+(load "whitespace")
+(global-set-key "\C-cw" 'global-whitespace-mode)
+;(setq whitespace-style '(
+; face
+; tabs tab-mark
+; spaces space-mark
+; newline newline-mark
+; empty
+;))
+
+(setq whitespace-style '(
+ tab-mark
+ space-mark
+ newline-mark
+ empty
+))
+
+
+(setq-default tab-width 8)
+(setq-default c-basic-offset 8)
+;; (setq-defualt indent-tabs-mode nill);; no tabs
+(setq-default indent-tabs-mode t);; use tabs
+
+(load "folding" 'nomessage 'noerror)
+(folding-mode-add-find-file-hook)
+
+(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.
+ '(column-number-mode t)
+ '(inhibit-startup-screen t)
+ '(line-number-mode t)
+ '(server-mode t)
+ '(show-paren-mode t))
+
+(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.
+ '(default ((t (:inherit default :height 80))))
+)