public
Description: A easy way for rails developers to start using emacs
Homepage:
Clone URL: git://github.com/mig/emacs-rails-kit.git
mig (author)
Tue Nov 24 19:45:28 -0800 2009
commit  734d9a3778c18e9eca8a3edf4a94c67364aba81d
tree    765507c1e385afb2bc07992ab718b8f1a1f11275
parent  36f7a436be8471b29409e6929339f43f577b5290
name age message
file .gitignore Thu Jan 22 11:14:00 -0800 2009 removed large js2-mode for a smaller, lighter e... [mig]
file .gitmodules Tue Nov 24 19:41:02 -0800 2009 removed some themes [mig]
file README.textile Fri May 08 08:57:34 -0700 2009 updated README with some tips on using [Mig Swasey]
directory elpa/ Sun Jan 18 12:50:12 -0800 2009 added empty elpa dir [Mig]
file emacs-defaults.el Sat Jan 17 14:18:00 -0800 2009 more defaults taken from emacs-starter-kit, the... [mig]
file emacs-elpa.el Sat Jan 17 10:29:57 -0800 2009 renamed lisp to vendor, more appropriate, and s... [mig]
file emacs-functions.el Wed Apr 15 08:34:35 -0700 2009 fixed spelling mistake [mig]
file emacs-gui.el Tue Nov 24 19:45:28 -0800 2009 yasnippet no longer included, because it's in elpa [mig]
file emacs-key-bindings.el Fri Sep 18 13:07:52 -0700 2009 mapping meta key to command in OSX (for emacs 23) [mig]
file emacs-rails.el Tue Nov 24 19:45:28 -0800 2009 yasnippet no longer included, because it's in elpa [mig]
file emacs-vendor.el Mon Apr 13 15:20:12 -0700 2009 added rspec requirements [mig]
file init.el Sat Jan 17 10:29:57 -0800 2009 renamed lisp to vendor, more appropriate, and s... [mig]
file package.el Fri Jan 16 23:58:39 -0800 2009 added elpa package manager, however, no package... [mig]
directory vendor/ Tue Nov 24 19:41:52 -0800 2009 removed yasnippet [mig]
README.textile

emacs-rails-kit

by Matt Swasey of Viget Labs

version 2

This is the second version of my emacs-rails-kit, the first was just a slightly modified emacs-starter-kit . Version 2 is a rebuild from scratch. It takes bits and pieces from configurations assembled by a number of different hackers’ (al3x topfunky technomancy defunkt crnixon) whom I admire.

This version can provide a base emacs configuration suitable for the average rails programmer to clone/fork and start using immediately.

No elpa packages are pre-installed, but I’ve included the elpa package library to allow for easier personal customization.

Instructions and Setup

  1. clone or fork from my github repository
  2. make a symlink to the root of the cloned repository to .emacs.d under your home directory
  3. initialize and update the git submodules
  4. start emacs!
  5. optionally run recomple-init to byte-compile all the list files, which will make things go faster

Example

$ git clone git://github.com/mig/emacs-rails-kit.git ~/Library/emacs-rails-kit
$ ln -s ~/Library/emacs-rails-kit ~/.emacs.d
$ cd ~/.emacs.d
$ git submodule init
$ git submodule update

Tips

If you are running this under OS X, add these lines to sync the kill ring with the clipboard:

(global-set-key (kbd "C-w") 'clipboard-kill-region)
(global-set-key (kbd "M-w") 'clipboard-kill-ring-save)
(global-set-key (kbd "C-y") 'clipboard-yank)

You can run both Test::Unit (shoulda context included) and RSpec tests with M-r within the test file. This will open a new buffer and run the test file. This buffer is now auto-clearing.