Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add git ignore configure

  • Loading branch information...
commit c0a90fda961fcf15b723a4c011ff81648fd743fc 1 parent 7c2d389
@kaichen authored
Showing with 2 additions and 53 deletions.
  1. +2 −0  .gitignore
  2. +0 −43 eruby.snippets~
  3. +0 −10 install.sh~
View
2  .gitignore
@@ -0,0 +1,2 @@
+*.swp
+*~
View
43 eruby.snippets~
@@ -1,43 +0,0 @@
-# Eruby
-
-snippet each
- <% ${1:collection}.each do |${2:member}| %>
- ${3}
- <% end %>
-snippet h
- <%=h ${1} %>
-snippet =
- <%= ${1} %>
-snippet -
- <% ${1} %>
-snippet rendp
- <%= render :partial => '${1}' %>
-snippet rendc
- <%= render :partial => @${1} %>
-snippet lt
- <%= link_to '${1:caption}>', ${2}> %>
-
-snippet if
- <% if ${1:cond} %>
- ${2}
- <% end %>
-
-snippet unless
- <% unless ${1:cond} %>
- ${2}
- <% end %>
-
-snippet yield
- <%= yield :${1:partial} %>
-
-snippet ff
- <% form_for(@${1:model}) do |f| %>
- <%= f.error_messages %>
- <%= f.submit "${2:button}" %>
- <% end %>
-
-snippet =jsit
- <%= javascript_include_tag('${1:javascript_filename}') %>
-
-snippet =sslt
- <%= stylesheet_link_tag "${1:stylesheet_filename}" %>
View
10 install.sh~
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-if [ -d ~/.vim ]; then
- if [ -f ~/.vim/plugin/snipMate.vim ]; then
- cp ./*.snippets ~/.vim/snippets/
- echo "Installed successfully!"
- fi
-else
- echo "Please install snipMate vim plugin first!"
-fi
Please sign in to comment.
Something went wrong with that request. Please try again.