Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A easy way for rails developers to start using emacs
Emacs Lisp
Branch: master

This branch is 31 commits ahead, 9 commits behind johnyerhot:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
elpa
vendor
.gitignore
.gitmodules
README.textile
emacs-defaults.el
emacs-elpa.el
emacs-functions.el
emacs-gui.el
emacs-rails.el
emacs-shell.el
emacs-vendor.el
hardbap.el
init.el
michael.el
package.el

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.

Something went wrong with that request. Please try again.