1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated all plugins that are non-forked. Added some new plugins.

Added update_plugins.py which can fetch new plugins from GitHub.

New plugins added: zencoding, vim-indent-object, taglist, nginx.vim
This commit is contained in:
amix
2013-04-13 14:45:21 -03:00
parent 5731b3a420
commit 3f1cdba799
1057 changed files with 33631 additions and 10806 deletions

View File

@ -0,0 +1,3 @@
<% content_for :${1:yield_label_in_layout} do -%>
${2}
<% end -%>

View File

@ -0,0 +1 @@
<%= collection_select <+object+>, <+method+>, <+collection+>, <+value_method+>, <+text_method+><+, <+[options]+>, <+[html_options]+>+> %>

View File

@ -0,0 +1 @@
<%= content_tag '${1:DIV}', ${2:content}${3:,options} -%>

View File

@ -0,0 +1 @@
<% end -%>

View File

@ -0,0 +1,3 @@
<% form_for @${1:model} do |f| -%>
${2}
<% end -%>

View File

@ -0,0 +1 @@
<%= ${1:f}.check_box :${2:attribute} %>

View File

@ -0,0 +1,5 @@
<% error_messages_for :${1:model} -%>
<% form_for @${2:model} do |f| -%>
${3}
<% end -%>

View File

@ -0,0 +1 @@
<%= ${1:f}.file_field :${2:attribute} %>

View File

@ -0,0 +1 @@
<%= ${1:f}.hidden_field :${2:attribute} %>

View File

@ -0,0 +1 @@
<%= ${1:f}.label :${2:attribute}, '${3:$2}' %>

View File

@ -0,0 +1 @@
<%= ${1:f}.password_field :${2:attribute} %>

View File

@ -0,0 +1 @@
<%= ${1:f}.radio_button :${2:attribute}, :${3:tag_value} %>

View File

@ -0,0 +1 @@
<%= ${1:f}.submit "${2:submit}" %>

View File

@ -0,0 +1 @@
<%= ${1:f}.text_area :${2:attribute} %>

View File

@ -0,0 +1 @@
<%= ${1:f}.text_field :${2:attribute} %>

View File

@ -0,0 +1,3 @@
<% fields_for :${1:model}, @$1 do |${2:f}| -%>
${3}
<% end -%>

View File

@ -0,0 +1,3 @@
<% for ${2:item} in ${1:list} -%>
${3}
<% end -%>

View File

@ -0,0 +1,3 @@
<% form_tag(<+:action => "<+update+>"+><+, {:<+class+> => "<+form+>"}+>) do -%>
<++>
<% end -%>

View File

@ -0,0 +1 @@
I18n.t('${1:type.key}')${2}

View File

@ -0,0 +1 @@
<%= image_tag "${1}"${2} %>

View File

@ -0,0 +1 @@
<%= javascript_include_tag <+:all+><+, :cache => <+true+>+> %>

View File

@ -0,0 +1 @@
<%= javascript_include_tag "${1}" %>

View File

@ -0,0 +1 @@
<%= link_to "${1:link text}", :action => "${2:index}" %>

View File

@ -0,0 +1 @@
<%= link_to "<+link text+>", :action => "<+edit+>", :id => <+@<+item+>+> %>

View File

@ -0,0 +1 @@
<%= link_to "${1:link text}", :controller => "${2:items}" %>

View File

@ -0,0 +1 @@
<%= link_to "${1:link text}", :controller => "${2:items}", :action => "${3:index}" %>

View File

@ -0,0 +1 @@
<%= link_to "<+link text+>", :controller => "<+items+>", :action => "<+edit+>", :id => <+@<+item+>+> %>

View File

@ -0,0 +1 @@
<%= link_to <+model+>.<+name+>, <+<+model+>_path(<+model+>)+> %>

View File

@ -0,0 +1 @@
<%= link_to <+"<+link text+>"+>, <+<+parent+>_<+child+>_path(<+@+><+parent+>, <+@+><+child+>)+> %>

View File

@ -0,0 +1 @@
<%= link_to <+"<+link text+>"+>, <+<+parent+>_<+child+>_path(<+@+><+parent+>)+> %>

View File

@ -0,0 +1 @@
<%= link_to <+"<+link text+>"+>, <+<+model+>_path(<+@+><+instance+>)+> %>

View File

@ -0,0 +1 @@
<%= link_to <+"<+link text+>"+>, <+<+model+>s_path+> %>

View File

@ -0,0 +1 @@
<%= link_to "${1:name}", ${2:dest} %>

View File

@ -0,0 +1 @@
<%= options_from_collection_for_select <+collection+>, <+value_method+>, <+text_method+><+, <+[selected_value]+>+> %>

View File

@ -0,0 +1 @@
<%= render :file => "${1:file}"${2} %>

View File

@ -0,0 +1 @@
<%= render :partial => "${1:file}"${2} %>

View File

@ -0,0 +1 @@
<%= render :template => "${1:file}"${2} %>

View File

@ -0,0 +1 @@
<%= stylesheet_link_tag <+:all+><+, :cache => <+true+>+> %>

View File

@ -0,0 +1 @@
<%= stylesheet_link_tag "${1}" %>

View File

@ -0,0 +1 @@
<%= submit_tag "<+Save changes+>"<+, :id => "<+submit+>"+><+, :name => "<+submit+>"+><+, :class => "<+form_name+>"+><+, :disabled => <+false+>+><+, :disable_with => "<+Please wait+>"+> %>