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}

View File

@ -0,0 +1 @@
=collection_select :${1:object}, :${2:method}, :${3:collection}, :${4:value_method}, :${5:text_method} ${6:, [options]} ${7:, [html_options]}

View File

@ -0,0 +1,2 @@
-form_for @${1:model} do |f|
${2}

View File

@ -0,0 +1 @@
=f.check_box :${1:attribute}

View File

@ -0,0 +1,4 @@
=error_messages_for :${1:model}
-form_for @${2:model} do |f|
${3}

View File

@ -0,0 +1 @@
=f.file_field :${1:attribute}

View File

@ -0,0 +1 @@
=f.hidden_field :${1:attribute}

View File

@ -0,0 +1 @@
=f.label :${1:attribute}

View File

@ -0,0 +1 @@
=f.password_field :${1:attribute}

View File

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

View File

@ -0,0 +1 @@
=f.submit "<+Submit+>"<+, :disable_with => '<+Submitting+>'+>

View File

@ -0,0 +1 @@
=f.text_area :${1:attribute}

View File

@ -0,0 +1 @@
=f.text_field :${1:attribute}

View File

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

View File

@ -0,0 +1,6 @@
-if !${1:list}.blank?
-for ${2:item} in $1
${3}
-else
${4}

View File

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

View File

@ -0,0 +1,2 @@
-if ${1}
${2}

View File

@ -0,0 +1,4 @@
-if ${1}
${2}
-else

View File

@ -0,0 +1 @@
=image_tag "${1}"

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}", ${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+>"+>

View File

@ -0,0 +1,3 @@
-unless ${1}
${2}

View File

@ -0,0 +1,4 @@
-if ${1}
${2}
-else