Browse files

Adding new coding modes; turn on column-mode as well as linum-mode

  • Loading branch information...
1 parent b28ca5d commit 19ba2b8e13c2a1f2a74d02b6d5ec63ac156d12d2 Eric Schwartz committed Feb 29, 2012
Showing with 13 additions and 16 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 init.d/01_packages.el
  3. +7 −0 init.d/code.el
  4. +4 −0 init.d/editing.el
  5. +0 −15 url/cookies
View
1 .gitignore
@@ -1,3 +1,4 @@
*~
+url/cookies
backup/
elpa/
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 'yaml-mode 'scss-mode 'ruby-compilation 'feature-mode 'coffee-mode))
+ (list 'xml-rpc 'magit 'gh 'textmate 'inf-ruby 'yaml-mode 'scss-mode 'ruby-compilation 'feature-mode 'coffee-mode 'js2-mode))
(dolist (package ems-required-packages)
(when (not (package-installed-p package))
(package-refresh-contents)
View
7 init.d/code.el
@@ -2,4 +2,11 @@
(add-hook 'ems-code-modes-hook
(lambda ()
(linum-mode 1)
+ (column-mode)
(textmate-mode)))
+
+(require 'yaml-mode)
+(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
+(add-to-list 'auto-mode-alist '("\\.js\\$" . js2-mode))
+(add-to-list 'auto-mode-alist '("\\.js\\.erb$" . js2-mode))
+(add-to-list 'auto-mode-alist '("\\.rake\\$". ruby-mode))
View
4 init.d/editing.el
@@ -2,3 +2,7 @@
(add-hook 'before-save-hook 'delete-trailing-whitespace)
(setq-default indent-tabs-mode nil)
+
+(setq frame-title-format
+ '((buffer-file-name "%f" (dired-directory dired-directory "%b")) " - "
+ invocation-name "@" system-name))
View
15 url/cookies
@@ -1,15 +0,0 @@
-;; Emacs-W3 HTTP cookies file
-;; Automatically generated file!!! DO NOT EDIT!!!
-
-(setq url-cookie-storage
- '(("marmalade-repo.org"
- [url-cookie "connect.sid" "217fee35c1b8459f8410caad0d3.3e75902ca193d14b3ec8c68c583871ef" "Thu, 10 Nov 2011 23:00:13 GMT" "/" "marmalade-repo.org" nil]
- [url-cookie "httpOnly" nil "Thu, 10 Nov 2011 23:00:13 GMT" "/" "marmalade-repo.org" nil]))
-)
-(setq url-cookie-secure-storage
- 'nil)
-
-;; Local Variables:
-;; version-control: never
-;; no-byte-compile: t
-;; End:

0 comments on commit 19ba2b8

Please sign in to comment.