1
0
mirror of https://github.com/amix/vimrc synced 2025-06-23 23:15:01 +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,16 @@
*~
.DS_Store
*.log
*.tmp
*.swp
*.old
*.bkp
*.zip
*.rar
*.arj
*.[t]gz
*.[t]bz2
tmp/
log/

View File

@ -1,38 +0,0 @@
Adam Folmert
Alberto Pose
Angel Alonso
Ben Orenstein
Bill Casarin
Christopher Joslyn
Daniel Hahler
Elliot Murphy
Eustaquio Rangel
Henrik Nyh
Honza Pokorny
Jakub Nawalaniec
James F. Herdman
Jon Bernard
Kozo NISHIDA
Leandro Pincini
Marc Weber
Marcin Kulik
Marjan.Hratson
Micah Elliott
Michael Sanders
Naveed Massjouni
Rob Hudson
Rok Garbas
Sebastian Schulze
Srushti Ambekallu
Stephen Tudor
Steven Oliver
Stuart Colville
Tom Adams
Zied ABID
fo60213
marutanm
msanders
Povilas Balzaravičius Pawka
Dmitry Dementev
Travis Holton
Chrisyue

View File

@ -1,20 +0,0 @@
Copyright (c) 2011 see AUTHORS
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,47 +0,0 @@
Snipmate Snippets
=================
This repository contains snippets files for various programming languages for
the famous [snipMate][1] plugin for vim. This repository is
community-maintained and many people have contributed snippet files and other
improvements already.
[vim-snipmate][1] was originally started by [Michael Sanders][2] who has now
unfortunately abandoned the project. [Rok Garbas][3] is now maintaining a
[fork][4] of the project in hopes of improving the existing code base.
Language maintainers
--------------------
No one can really be proficient in all programming languages. If you would like
to maintain snippets for a language, please get in touch.
* Python - [honza](http://github.com/honza)
* Javascript - [honza](http://github.com/honza)
* HTML Django - [honza](http://github.com/honza)
* Markdown - [honza](http://github.com/honza)
* Ruby - [taq](http://github.com/taq)
* PHP - [chrisyue](http://github.com/chrisyue)
Contributing notes
------------------
Until further work is done on `vim-snipmate`, please don't add folding markers
into snippets.
Authors
-------
For a list of authors, please see the `AUTHORS` files.
License
-------
Just as the original snipMate plugin, all the snippets are licensed under the
terms of the MIT license.
[1]: http://github.com/garbas/vim-snipmate
[2]: http://github.com/msanders
[3]: http://github.com/garbas
[4]: http://github.com/garbas/vim-snipmate

View File

@ -0,0 +1,24 @@
#require 'fileutils'
#include FileUtils
namespace :snippets_dir do
task :find do
vim_dir = File.join(ENV['VIMFILES'] || ENV['HOME'] || ENV['USERPROFILE'], RUBY_PLATFORM =~ /mswin|msys|mingw32/ ? "vimfiles" : ".vim")
pathogen_dir = File.join(vim_dir, "bundle")
@snippets_dir = File.directory?(pathogen_dir) ? File.join(pathogen_dir, "snipmate", "snippets") : File.join(vim_dir, "snippets")
end
desc "Purge the contents of the vim snippets directory"
task :purge => ["snippets_dir:find"] do
rm_rf @snippets_dir, :verbose => true if File.directory? @snippets_dir
mkdir @snippets_dir, :verbose => true
end
end
desc "Copy the snippets directories into ~/.vim/snippets"
task :deploy_local => ["snippets_dir:purge"] do
Dir.foreach(".") do |f|
cp_r f, @snippets_dir, :verbose => true if File.directory?(f) && f =~ /^[^\.]/
end
cp "support_functions.vim", @snippets_dir, :verbose => true
end

View File

@ -0,0 +1 @@
`strftime("%Y-%m-%d %H:%M:%S")`

View File

@ -0,0 +1 @@
`strftime("%Y-%m-%d")`

View File

@ -0,0 +1 @@
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

View File

@ -0,0 +1 @@
`Snippet_Modeline()`

View File

@ -1,10 +0,0 @@
{
"name" : "snipmate-snippets",
"author" : "community",
"maintainer" : "honza @ github & others",
"repository" : {"type": "git", "url": "git://github.com/honza/snipmate-snippets.git"},
"dependencies" : {
"snipmate": {}
},
"description" : "community driven set of snippets for snipmate"
}

View File

@ -0,0 +1,29 @@
<project name="PROJECT NAME" default="dist" basedir=".">
<description>
</description>
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init" description="compile the source " >
<javac srcdir="${src}" destdir="${build}"/>
</target>
<target name="dist" depends="compile" description="generate the distribution" >
<mkdir dir="${dist}/lib"/>
<jar jarfile="${dist}/lib/MyProject-${DSTAMP}.jar" basedir="${build}"/>
</target>
<target name="clean"
description="clean up" >
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>

View File

@ -0,0 +1,7 @@
class ${1:`Filename('$1_t', 'name')`} {
public:
$1 (${2:arguments});
virtual ~$1 ();
private:
${3:/* data */}
};

View File

@ -0,0 +1,3 @@
#ifndef $1
#define ${1:SYMBOL} ${2:value}
#endif${3}

View File

@ -0,0 +1,3 @@
do {
${2:/* code */}
} while (${1:/* condition */});

View File

@ -0,0 +1,3 @@
else {
${1}
}

View File

@ -0,0 +1,3 @@
for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) {
${4:/* code */}
}

View File

@ -0,0 +1,3 @@
for (${1:i} = 0; ${2:$1 < 5}; $1${3:++}) {
${4:/* code */}
}

View File

@ -0,0 +1 @@
fprintf(${1:stderr}, "${2:%s}\n"${3});${4}

View File

@ -0,0 +1,4 @@
${1:void} ${2:function_name} (${3})
{
${4:/* code */}
}

View File

@ -0,0 +1,3 @@
if (${1:/* condition */}) {
${2:/* code */}
}

View File

@ -0,0 +1 @@
#include "${1:`Filename("$1.h")`}"${2}

View File

@ -0,0 +1 @@
#include <${1:stdio}.h>${2}

View File

@ -0,0 +1,5 @@
int main (int argc, char const* argv[])
{
${1:/* code */}
return 0;
}

View File

@ -0,0 +1 @@
std::map<${1:key}, ${2:value}> map${3};

View File

@ -0,0 +1,3 @@
namespace ${1:`Filename('', 'my')`} {
${2}
} /* $1 */

View File

@ -0,0 +1,6 @@
#ifndef ${1:`toupper(Filename('', 'UNTITLED').'_'.system("/usr/bin/ruby -e 'print (rand * 2821109907455).round.to_s(36)'"))`}
#define $1
${2}
#endif /* end of include guard: $1 */

View File

@ -0,0 +1 @@
printf("${1:%s}\n"${2});${3}

View File

@ -0,0 +1,7 @@
std::vector<char> v;
if (FILE *${2:fp} = fopen(${1:"filename"}, "r")) {
char buf[1024];
while (size_t len = fread(buf, 1, sizeof(buf), $2))
v.insert(v.end(), buf, buf + len);
fclose($2);
}${3}

View File

@ -0,0 +1,3 @@
struct ${1:`Filename('$1_t', 'name')`} {
${2:/* data */}
}${3: /* optional variable list */};${4}

View File

@ -0,0 +1 @@
${1:/* condition */} ? ${2:a} : ${3:b}'

View File

@ -0,0 +1 @@
typedef ${1:int} ${2:MyCustomType};

View File

@ -0,0 +1,3 @@
typedef struct {
${2:/* data */}
} ${1:`Filename('$1_t', 'name')`};

View File

@ -0,0 +1 @@
std::vector<${1:char}> v${2};

View File

@ -0,0 +1,3 @@
while (${1:/* condition */}) {
${2:/* code */}
}

View File

@ -0,0 +1,3 @@
#${1:id} {
${2}
}

View File

@ -0,0 +1 @@
background:${6: #${1:DDD}} url($2) ${3:repeat/repeat-x/repeat-y/no-repeat} ${4:scroll/fixed} ${5:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0

View File

@ -0,0 +1 @@
background-attachment: ${1:scroll/fixed};$0

View File

@ -0,0 +1 @@
background-color: #${1:DDD};$0

View File

@ -0,0 +1 @@
background-color: ${1:red};$0

View File

@ -0,0 +1 @@
background-color: rgb(${1:255},${2:255},${3:255});$0

View File

@ -0,0 +1 @@
background-color: transparent;$0

View File

@ -0,0 +1 @@
background-image: none;$0

View File

@ -0,0 +1 @@
background-image: url($1);$0

View File

@ -0,0 +1 @@
background-position: ${1:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0

View File

@ -0,0 +1 @@
background-repeat: ${1:repeat/repeat-x/repeat-y/no-repeat};$0

View File

@ -0,0 +1 @@
border: ${1:1px} ${2:solid} #${3:999};$0

View File

@ -0,0 +1 @@
border-color: ${1:999};$0

View File

@ -0,0 +1 @@
border-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View File

@ -0,0 +1 @@
border-width: ${1:1px};$0

View File

@ -0,0 +1 @@
border-bottom: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1 @@
border-bottom-color: #${1:999};$0

View File

@ -0,0 +1 @@
border-bottom-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View File

@ -0,0 +1 @@
border-bottom-width: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1 @@
border-left: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1 @@
border-left-color: #${1:999};$0

View File

@ -0,0 +1 @@
border-left-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View File

@ -0,0 +1 @@
border-left-width: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1 @@
border-right: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1 @@
border-right-color: #${1:999};$0

View File

@ -0,0 +1 @@
border-right-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View File

@ -0,0 +1 @@
border-right-width: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1 @@
border-top: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1 @@
border-top-color: #${1:999};$0

View File

@ -0,0 +1 @@
border-top-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View File

@ -0,0 +1 @@
border-top-width: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1,3 @@
.${1:class} {
${2:color: pink;}
}

View File

@ -0,0 +1 @@
clear: ${1:left/right/both/none};$0

View File

@ -0,0 +1 @@
color: #${1:DDD};$0

View File

@ -0,0 +1 @@
color: ${1:red};$0

View File

@ -0,0 +1 @@
color: rgb(${1:255},${2:255},${3:255});$0

View File

@ -0,0 +1 @@
cursor: ${1:default/auto/crosshair/pointer/move/*-resize/text/wait/help};$0

View File

@ -0,0 +1 @@
cursor: url($1);$0

View File

@ -0,0 +1 @@
direction: ${1:ltr|rtl};$0

View File

@ -0,0 +1 @@
display: block;$0

View File

@ -0,0 +1 @@
display: ${1:none/inline/block/list-item/run-in/compact/marker};$0

View File

@ -0,0 +1 @@
display: inline;$0

View File

@ -0,0 +1 @@
display: ${1:table/inline-table/table-row-group/table-header-group/table-footer-group/table-row/table-column-group/table-column/table-cell/table-caption};$0

View File

@ -0,0 +1 @@
float: ${1:left/right/none};$0

View File

@ -0,0 +1 @@
font: ${1:normal/italic/oblique} ${2:normal/small-caps} ${3:normal/bold} ${4:1em/1.5em} ${5:Arial}, ${6:sans-}serif;$0

View File

@ -0,0 +1 @@
font-family: ${1:Arial, "MS Trebuchet"}, ${2:sans-}serif;$0

View File

@ -0,0 +1 @@
font-size: ${1:100%};$0

View File

@ -0,0 +1 @@
font: ${1:75%} ${2:"Lucida Grande", "Trebuchet MS", Verdana,} ${3:sans-}serif;$0

View File

@ -0,0 +1 @@
font-style: ${1:normal/italic/oblique};$0

View File

@ -0,0 +1 @@
font-variant: ${1:normal/small-caps};$0

View File

@ -0,0 +1 @@
font-weight: ${1:normal/bold};$0

View File

@ -0,0 +1 @@
${1:!important}

View File

@ -0,0 +1 @@
letter-spacing: ${1}${2:em/px};$0

View File

@ -0,0 +1 @@
letter-spacing: $1em;$0

View File

@ -0,0 +1 @@
letter-spacing: $1px;$0

View File

@ -0,0 +1 @@
list-style-image: url($1);$0

View File

@ -0,0 +1 @@
list-style-position: ${1:inside/outside};$0

View File

@ -0,0 +1 @@
list-style-type: ${1:cjk-ideographic/hiragana/katakana/hiragana-iroha/katakana-iroha};$0

View File

@ -0,0 +1 @@
list-style-type: ${1:none/disc/circle/square};$0

View File

@ -0,0 +1 @@
list-style-type: ${1:decimal/decimal-leading-zero/zero};$0

View File

@ -0,0 +1 @@
list-style-type: ${1:hebrew/armenian/georgian};$0

View File

@ -0,0 +1 @@
list-style: ${1:none/disc/circle/square/decimal/zero} ${2:inside/outside} url($3);$0

View File

@ -0,0 +1 @@
list-style-type: ${1:lower-roman/upper-roman/lower-alpha/upper-alpha/lower-greek/lower-latin/upper-latin};$0

View File

@ -0,0 +1 @@
margin: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0

View File

@ -0,0 +1 @@
margin-bottom: ${1:20px};$0

View File

@ -0,0 +1 @@
margin-left: ${1:20px};$0

Some files were not shown because too many files have changed in this diff Show More