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,6 @@
+ (void) initialize
{
[[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWIthObjectsAndKeys:
${1}@"value", @"key",
nil]];
}

View File

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

View File

@ -0,0 +1 @@
[[${1:foo} alloc] init]${2};${3}

View File

@ -0,0 +1 @@
NSMutableArray *${1:array} = [NSMutable array];${2}

View File

@ -0,0 +1 @@
NSBezierPath *${1:path} = [NSBezierPath bezierPath];${2}

View File

@ -0,0 +1,6 @@
@interface ${1:NSObject} (${2:Category})
@end
@implementation $1 ($2)
${3}
@end

View File

@ -0,0 +1,3 @@
@interface ${1:NSObject} (${2:Category})
${3}
@end

View File

@ -0,0 +1,5 @@
@interface ${1:ClassName} : ${2:NSObject}
{${3}
}
${4}
@end

View File

@ -0,0 +1 @@
NSMutableDictionary *${1:dict} = [NSMutableDictionary dictionary];${2}

View File

@ -0,0 +1,7 @@
unsigned int ${1:object}Count = [${2:array} count];
for (unsigned int index = 0; index < $1Count; index++)
{
${3:id} $1 = [$2 $1AtIndex:index];
${4}
}

View File

@ -0,0 +1 @@
NSLog(@"${1}"${2});${3}

View File

@ -0,0 +1,4 @@
+ (${1:id}) ${2:method}
{${3}
return nil;
}

View File

@ -0,0 +1,4 @@
- (${1:id}) ${2:method}
{${3}
${4:return nil;}
}

View File

@ -0,0 +1,11 @@
- (${1:id})${2:thing}
{
return $2;
}
- (void) set$2:($1)
{
$1 old$2 = $2;
$2 = [aValue retain];
[old$2 release];
}

View File

@ -0,0 +1,14 @@
@interface ${1:`Filename('', 'object')`} : ${2:NSObject}
{
}
@end
@implementation $1
- (id) init
{
if (self = [super init])
{${3}
}
return self
}
@end

View File

@ -0,0 +1 @@
@property (${1:retain}) ${2:NSSomeClass} *${3:$2};${4}

View File

@ -0,0 +1 @@
[${1:foo} release];${2}

View File

@ -0,0 +1 @@
[${1:foo} retain];${2}

View File

@ -0,0 +1 @@
@selector(${1:method}:)${2}

View File

@ -0,0 +1,5 @@
- (${1:id}) ${2:method}:(${3:id})${4:anArgument}
{
$1 res = [super $2:$4];${5}
return res;
}

View File

@ -0,0 +1 @@
@synthesize ${1:NSSomeClass};${2}