Running is therapy

a blog about running, cats and Linux.
  • Home
  • Current Schedule
  • Personal Records
  • Upcoming Races

Textmate is for the weak

Published by Nathan Powell on February 25, 2007 10:24 am under programming

Again Kidding, but I know at least one reader who will bristle at that…

I found a great (maybe the only one?) Rails minor mode for emacs, as well as the associated page on the rails wiki.

I am sure this is not news to the emacs users among us, but I thought it was leet.

Along with the following table of snippets enabled by this mode (reprinted without permission here)

Ruby Mode Snippets

ra render-action
ral render-action-layout
rf render-file
rfu render-file-use_full_path
ri render-inline
ril render-inline-locals
rit render-inline-type
rl render-layout
rn render-nothing
rns render-nothing-status
rp render-partial
rpc render-partial-collection
rpl render-partial-locals
rpo render-partial-object
rps render-partial-status
rt render-text
rtl render-text-layout
rtlt render-text-layout_true
rts render-text-status
rcea render-component-action
rcec render-component-controller
rceca render-component-controller-action
rea redirect_to-action
reai redirect_to-action-id
rec redirect_to-controller
reca redirect_to-controller-action
recai redirect_to-controller-action-id
flash flash
logi logger.info
par params
ses session
belongs belongs_to-class-foreign_key
many has_many-class-foreign_key-dependent
one has_one-class-foreign_key-dependent
valpres validates_presence_of
valuniq validates_uniqueness_of
valnum validates_numericality_of

HTML Mode Snippets

ft form_tag-action
lia link_to-action
liai link_to-action-id
lic link_to-controller
lica link_to-controller-action
licai link_to-controller-action-id
%h h …
%if if … end
%unless unless … end
#ifel if … else … end
% <% … %>
%% <%= … %>

1 Comment so far

  1. Lon on February 25th, 2007

    They say imitation is the sincerest form of flattery. At least emacs copies from the best!

    Now stop messing around with this emacs stuff, it’ll only lead to tragedy.

Posting your comment.

  • Search

  • Archives

    • August 2008 (7)
    • July 2008 (11)
    • June 2008 (14)
    • May 2008 (15)
    • April 2008 (10)
    • March 2008 (16)
    • February 2008 (17)
    • January 2008 (37)
    • December 2007 (21)
    • November 2007 (30)
    • October 2007 (29)
    • September 2007 (22)
    • August 2007 (30)
    • July 2007 (49)
    • June 2007 (32)
    • May 2007 (29)
    • April 2007 (38)
    • March 2007 (26)
    • February 2007 (25)
    • January 2007 (23)
    • December 2006 (10)
    • November 2006 (12)
    • October 2006 (9)
    • September 2006 (9)
    • August 2006 (5)
    • July 2006 (13)
    • June 2006 (9)
    • May 2006 (8)
    • April 2006 (11)
    • March 2006 (12)
    • February 2006 (12)
    • January 2006 (13)
    • December 2005 (15)
    • November 2005 (19)
    • October 2005 (8)
  • Categories

    • blather (60)
    • books (10)
    • computers (177)
    • cooking (1)
    • economics (3)
    • emacs (3)
    • football (1)
    • gaming (1)
    • hiking (5)
    • housekeeping (5)
    • lifehacking (7)
    • music (3)
    • paddling (2)
    • personal (1)
    • politics (21)
    • programming (67)
    • running (228)
    • smoking (40)
    • sysadmin (9)
    • tlc (10)
    • Uncategorized (1)
  • Pages

    • Current Schedule
    • Personal Records
    • Upcoming Races

Copyright © 2008 Running is therapy
WordPress Theme based on Light Theme