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,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 */}
}