Skip to content
Browse files

A few more customizations, autoload org-mode, etc.

  • Loading branch information...
1 parent 253791b commit 4fb865b9f72e586b45d9d89c099a4cc00c0059ca Eric Schwartz committed
Showing with 17 additions and 2 deletions.
  1. +3 −1 emacs-customizations.el
  2. +1 −1 init.d/01_packages.el
  3. +4 −0 init.d/editing.el
  4. +6 −0 init.d/feature-mode.el
  5. +1 −0 init.d/fonts.el
  6. +2 −0 init.d/orgmode.el
View
4 emacs-customizations.el
@@ -6,7 +6,9 @@
'(custom-enabled-themes (quote (wheatgrass)))
'(ido-enable-flex-matching t)
'(ido-mode (quote both) nil (ido))
- '(package-archives (quote (("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/packages/") ("Tromey" . "http://tromey.com/elpa/")))))
+ '(js-indent-level 2)
+ '(package-archives (quote (("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/packages/") ("Tromey" . "http://tromey.com/elpa/"))))
+ '(scss-sass-command "bundle exec sass"))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
View
2 init.d/01_packages.el
@@ -3,7 +3,7 @@
;; package loading stuff
(package-initialize)
(setq ems-required-packages
- (list 'xml-rpc 'magit 'gh 'textmate 'inf-ruby))
+ (list 'xml-rpc 'magit 'gh 'textmate 'inf-ruby 'yaml-mode 'scss-mode 'ruby-compilation 'feature-mode))
(dolist (package ems-required-packages)
(when (not (package-installed-p package))
(package-refresh-contents)
View
4 init.d/editing.el
@@ -0,0 +1,4 @@
+;; generic editing tricks
+
+(add-hook 'before-save-hook 'delete-trailing-whitespace)
+(setq-default indent-tabs-mode nil)
View
6 init.d/feature-mode.el
@@ -0,0 +1,6 @@
+;; functions and methods for ruby coding
+(add-hook 'feature-mode-hook
+ (lambda ()
+ (run-hooks 'ems-code-modes-hook)))
+
+
View
1 init.d/fonts.el
@@ -0,0 +1 @@
+(set-frame-font "Menlo-16")
View
2 init.d/orgmode.el
@@ -0,0 +1,2 @@
+;; run org-mode by default
+(org-mode)

0 comments on commit 4fb865b

Please sign in to comment.
Something went wrong with that request. Please try again.