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:
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* class $2
|
||||
* @author ${4:`g:snips_author`}
|
||||
*/
|
||||
${1:public} class ${2:`Snippet_JavaClassNameFromFilename()`}${3} {
|
||||
|
||||
/**
|
||||
* Constructor for $2
|
||||
*/
|
||||
public $2(${4}) {
|
||||
${5}
|
||||
}
|
||||
|
||||
public static void main(String args[]) {
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* class $2
|
||||
* @author ${4:`g:snips_author`}
|
||||
*/
|
||||
${1:public} class ${2:`Snippet_JavaClassNameFromFilename()`}${3} {
|
||||
|
||||
/**
|
||||
* Constructor for $2
|
||||
*/
|
||||
public $2(${5}){
|
||||
${6}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* class $2
|
||||
* @author ${4:`g:snips_author`}
|
||||
*/
|
||||
${1:public} class ${2:`Snippet_JavaClassNameFromFilename()`}${3} {
|
||||
|
||||
/**
|
||||
* Constructor for $2
|
||||
*/
|
||||
public $2(${5}){
|
||||
${6}
|
||||
}
|
||||
|
||||
}
|
3
sources_non_forked/snipmate-snippets/java/for.snippet
Normal file
3
sources_non_forked/snipmate-snippets/java/for.snippet
Normal file
@ -0,0 +1,3 @@
|
||||
for(${1:int i=0}; ${2:condition}; ${3:i++}){
|
||||
${4}
|
||||
}
|
9
sources_non_forked/snipmate-snippets/java/gs.snippet
Normal file
9
sources_non_forked/snipmate-snippets/java/gs.snippet
Normal file
@ -0,0 +1,9 @@
|
||||
//getter for $3
|
||||
public ${2:variable_type} get${1:VariableName}() {
|
||||
return ${3:variableName};
|
||||
}
|
||||
|
||||
//setter for $3
|
||||
public void set$1($2 $3) {
|
||||
this.$3 = $3;
|
||||
}${4}
|
3
sources_non_forked/snipmate-snippets/java/if.snippet
Normal file
3
sources_non_forked/snipmate-snippets/java/if.snippet
Normal file
@ -0,0 +1,3 @@
|
||||
if(${1}){
|
||||
${2}
|
||||
}
|
4
sources_non_forked/snipmate-snippets/java/ife.snippet
Normal file
4
sources_non_forked/snipmate-snippets/java/ife.snippet
Normal file
@ -0,0 +1,4 @@
|
||||
if(${1}){
|
||||
${2}
|
||||
}else{
|
||||
}
|
1
sources_non_forked/snipmate-snippets/java/log.snippet
Normal file
1
sources_non_forked/snipmate-snippets/java/log.snippet
Normal file
@ -0,0 +1 @@
|
||||
System.${1:out}.println(${2});
|
8
sources_non_forked/snipmate-snippets/java/m.snippet
Normal file
8
sources_non_forked/snipmate-snippets/java/m.snippet
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* ${7:Method Description}
|
||||
* ${5}
|
||||
* @return ${6}
|
||||
*/
|
||||
${1:public} ${2:void} ${3:methodName}(${4}) {
|
||||
${8}
|
||||
}
|
Reference in New Issue
Block a user