# HG changeset patch # User Augie Fackler # Date 1246034379 18000 # Node ID 85d912e123afef2e05e5b31a69dc95896bf41a99 # Parent d4845549ed7c37461a9c54ea4590ac349fbc56ac More ruby fixes, set html.erb to be some non-useless mode. diff --git a/.elisp/settings/40.modes.el b/.elisp/settings/40.modes.el --- a/.elisp/settings/40.modes.el +++ b/.elisp/settings/40.modes.el @@ -28,11 +28,15 @@ point." (add-hook 'ruby-mode-hook '(lambda () (af-tab-fix) (local-set-key (kbd "RET") - 'reindent-then-newline-and-indent))) + 'reindent-then-newline-and-indent) + (local-set-key (kbd "C-M-f") + 'textmate-find-in-project-type))) (require 'django-html-mode) ;; I think I probably just always want it in django mode for now (add-to-list 'auto-mode-alist '("\\.html$'" . django-html-mode)) +(add-to-list 'auto-mode-alist '("\\.html.erb$'" . django-html-mode)) +(add-to-list 'auto-mode-alist '("\\.rhtml$'" . django-html-mode)) (add-hook 'django-html-mode-hook '(lambda () (local-set-key (kbd "RET") 'reindent-then-newline-and-indent)))